Visual Basic (Declaration) | |
---|---|
Public Property SlidingExpirationInterval As System.TimeSpan |
C# | |
---|---|
public System.TimeSpan SlidingExpirationInterval {get; set;} |
By using this property, you can advance the retention period for the reports that are stored in the cache. For the reports that have exceeded the retention period, they are not necessarily always destroyed at that very moment, and the timing for that depends on the garbage collection.
In particular, if the report to be generated does not change every time, then there is no need to retain it in the cache for a long time, therefore efficiency can be achieved by setting just the minimum value of the generation time of the report.
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