| C1.Web.Wijmo.Controls.C1ReportViewer.ReportService Namespace > ReportCache Class : Expiration Property |
'Declaration<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)> <System.ComponentModel.NotifyParentPropertyAttribute(True)> <System.ComponentModel.DefaultValueAttribute()> <C1CategoryAttribute("Behavior")> <C1DescriptionAttribute(Key="C1ReportViewer.Cache.Expiration", Description="Gets or sets the number of minutes that elapse before reports are discarded from the cache.")> Public Property Expiration As System.Integer
[System.ComponentModel.RefreshProperties(RefreshProperties.All)] [System.ComponentModel.NotifyParentProperty(true)] [System.ComponentModel.DefaultValue()] [C1Category("Behavior")] [C1Description(Key="C1ReportViewer.Cache.Expiration", Description="Gets or sets the number of minutes that elapse before reports are discarded from the cache.")] public System.int Expiration {get; set;}
The default value for this property is 30, causing reports to be stored in the cache for 30 minutes before they are discarded. You can use the Sliding property to determine whether this is an absolute or a "sliding" limit (meaning the interval is reset every time the report in the cache is reused).
The amount of time reports remain in the cache is also affected by file dependencies. By default, changes in the report definition file cause cached reports to be discarded.
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