DataViewWebPart.CacheDataTimeout Property

Determines the length of time that elapses before the cache expires.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("DataViewWebPartPartCacheDataTimeoutLiteral", "Miscellaneous",  _
    "DataViewWebPartPartCacheDataTimeoutDescription")> _
Public Property CacheDataTimeout As Integer
    Get
    Set
'Usage
Dim instance As DataViewWebPart
Dim value As Integer

value = instance.CacheDataTimeout

instance.CacheDataTimeout = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("DataViewWebPartPartCacheDataTimeoutLiteral", "Miscellaneous", 
    "DataViewWebPartPartCacheDataTimeoutDescription")]
public int CacheDataTimeout { get; set; }

Property Value

Type: System.Int32
An integer indicating the number of seconds that elapse before the cache expires.

See Also

Reference

DataViewWebPart Class

DataViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace