BaseXmlDataSource.CacheExpirationPolicy property

Gets or sets the expiration policy of the cache.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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.

See also

Reference

BaseXmlDataSource class

BaseXmlDataSource members

Microsoft.SharePoint.WebControls namespace