Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the expiration policy of the cache.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overridable Property CacheExpirationPolicy As DataSourceCacheExpiry
Get
Set
'Usage
Dim instance As BaseXmlDataSource
Dim value As DataSourceCacheExpiry
value = instance.CacheExpirationPolicy
instance.CacheExpirationPolicy = value
public virtual DataSourceCacheExpiry CacheExpirationPolicy { get; set; }
Property Value
Type: System.Web.UI.DataSourceCacheExpiry
One of the values of the System.Web.DataSourceCacheExpiry enumerator.
Remarks
The duration for the expiration is specified by the CacheDuration property.