Share via


CacheType Enumeration

The CacheType enumeration of the WebPart class defines the location of cache storage for caching Web Part values.

Members

The following table shows the members of the CacheType enumeration and a brief description of each.

Name Description
CacheObject Store cached property values using the ASP.NET Cache object.
Database Store cached property values in the SharePoint database.
None No property values are cached.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint.WebPartPages

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security