Visual Basic (Declaration) | |
---|---|
Public Property CleanupPeriod As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int CleanupPeriod {get; set;} |
C# | Copy Code |
---|---|
//delete old files every 30 minutes |
Visual Basic | Copy Code |
---|---|
'delete old files every 30 minutes |
When .netCHARTING renders a chart a temporary file is created in the directory
set by the TempDirectory property. The CleanUpPeriod property determines how frequently
(in minutes) this directory is cleaned by deleting old temporary files. The default is
15 minutes and the property can be set to 0 in order to disable the cleanup in which
case temp files are not automatically deleted.
Any files that start with 'dnc-' will be deleted in the temp directory.
Any files that start with 'dnc-' will be deleted in the temp directory.