SPSite.Cache 属性

A thread-safe cache that may be used to store very small amounts of data associated with this SPSite.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property Cache As SPSiteCollectionPropertyCache
    Get
用法
Dim instance As SPSite
Dim value As SPSiteCollectionPropertyCache

value = instance.Cache
public SPSiteCollectionPropertyCache Cache { get; }

属性值

类型:Microsoft.SharePoint.Administration.SPSiteCollectionPropertyCache
A SPSiteCollectionPropertyCache object.

备注

The cache is stored in memory and will be emptied at the next process recycle. Cache entries may be removed during site deletion, but invalidation is not assured. A process recycle may be required to invalidate cached entries. Because the cache has no flush mechanism it is critical that only very small values are placed in the cache.

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间