.netCHARTING v10.7 Documentation
Example 


dotnetCHARTING Namespace > FileManager Class : CleanupPeriod Property
CleanupPeriod Property (FileManager)
Gets or sets a System.TimeSpan object that determines the amount of time the TempDirectory folder would be checked for deleting old image files.
Syntax
'Declaration
 
Public Property CleanupPeriod As TimeSpan
'Usage
 
Dim instance As FileManager
Dim value As TimeSpan
 
instance.CleanupPeriod = value
 
value = instance.CleanupPeriod
public TimeSpan CleanupPeriod {get; set;}
Example
This example sets the cleanup period every 30 minutes.
Chart.FileManager.CleanupPeriod= new TimeSpan(0,30,0);
Chart.FileManager.CleanupPeriod= New TimeSpan(0,30,0)
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also