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 amount of time in seconds that the cache is valid.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<TypeConverterAttribute(GetType(DataSourceCacheDurationConverter))> _
Public Overridable Property CacheDuration As Integer
Get
Set
'Usage
Dim instance As BaseXmlDataSource
Dim value As Integer
value = instance.CacheDuration
instance.CacheDuration = value
[TypeConverterAttribute(typeof(DataSourceCacheDurationConverter))]
public virtual int CacheDuration { get; set; }
Property Value
Type: System.Int32
A 32-bit signed integer indicating the amount of time in seconds that the cache is valid.