共用方式為


SPSiteCollectionPropertyCache class

一種安全執行緒快取,可能會用來儲存非常少量的此**[Microsoft.SharePoint.SPSite]相關聯的資料。從[Microsoft.SharePoint.SPSite.Cache]**擷取執行個體。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPSiteCollectionPropertyCache

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPSiteCollectionPropertyCache
'用途
Dim instance As SPSiteCollectionPropertyCache
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPSiteCollectionPropertyCache

備註

快取儲存在記憶體中,會清空期間的下一個程序回收。可以在網站刪除期間移除快取項目,但不是保證物件失效。可能需要處理序回收失效快取的項目。很重要非常小的值會放在快取中,因為快取有無清除機制。

Thread safety

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

請參閱

參照

SPSiteCollectionPropertyCache members

Microsoft.SharePoint.Administration namespace