Share via


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)

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