DataViewWebPart.CacheDataStorageProperty property

Indicates the type of cache to use when caching data for a data view.

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

Syntax

'Declaration
<ResourcesAttribute("DataViewWebPartCacheDataStorageLiteral", "Miscellaneous",  _
    "DataViewWebPartCacheDataStorageDescription")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property CacheDataStorageProperty As CacheDataStorage
    Get
    Set
'Usage
Dim instance As DataViewWebPart
Dim value As CacheDataStorage

value = instance.CacheDataStorageProperty

instance.CacheDataStorageProperty = value
[ResourcesAttribute("DataViewWebPartCacheDataStorageLiteral", "Miscellaneous", 
    "DataViewWebPartCacheDataStorageDescription")]
[WebPartStorageAttribute(Storage.Shared)]
public CacheDataStorage CacheDataStorageProperty { get; set; }

Property value

Type: Microsoft.SharePoint.WebPartPages.CacheDataStorage
A CacheDataStorage value that specifies the type of cache for storing data.

See also

Reference

DataViewWebPart class

DataViewWebPart members

Microsoft.SharePoint.WebPartPages namespace