Share via


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)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.CacheDataStorageProperty

instance.CacheDataStorageProperty = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("DataViewWebPartCacheDataStorageLiteral", "Miscellaneous", 
    "DataViewWebPartCacheDataStorageDescription")]
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