BaseXmlDataSource.ErrorCacheDuration Property

Gets or sets the amount of time, in seconds, for the code stored in the cache to be 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 ErrorCacheDuration As Integer
    Get
    Set
'Usage
Dim instance As BaseXmlDataSource
Dim value As Integer

value = instance.ErrorCacheDuration

instance.ErrorCacheDuration = value
[TypeConverterAttribute(typeof(DataSourceCacheDurationConverter))]
public virtual int ErrorCacheDuration { get; set; }

Property Value

Type: System.Int32
An Int32 value type representing the amount of time, in seconds..

See Also

Reference

BaseXmlDataSource Class

BaseXmlDataSource Members

Microsoft.SharePoint.WebControls Namespace