Свойство 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