SPSiteCollectionPropertyCache class
A thread-safe cache that may be used to store very small amounts of data associated with this [Microsoft.SharePoint.SPSite]. Fetch an instance from [Microsoft.SharePoint.SPSite.Cache].
System.Object
Microsoft.SharePoint.Administration.SPSiteCollectionPropertyCache
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPSiteCollectionPropertyCache
'Usage
Dim instance As SPSiteCollectionPropertyCache
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPSiteCollectionPropertyCache
The cache is stored in memory and will be emptied during the next process recycle. Cache entries can be removed during site deletion but object invalidation is not assured. A process recycle may be required to invalidate cached entries. It is critical that only very small values are placed in the cache because the cache has no flush mechanism.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.