Gets or sets the number of minutes that elapse before reports are discarded from the cache.
Namespace:
C1.Web.C1WebReportAssembly: C1.Web.C1WebReport.2 (in C1.Web.C1WebReport.2.dll)
Syntax
C# |
---|
[DefaultValueAttribute()] [NotifyParentPropertyAttribute(true)] [RefreshPropertiesAttribute(RefreshProperties.All)] public int Expiration { get; set; } |
Visual Basic (Declaration) |
---|
<DefaultValueAttribute()> _ <NotifyParentPropertyAttribute(True)> _ <RefreshPropertiesAttribute(RefreshProperties.All)> _ Public Property Expiration As Integer Get Set |
Remarks
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. You can select an additional file dependency using the FileDependency property.