共用方式為


SPPersistedObject.Uncache Method

Frees the memory cache that is used by the object.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Sub Uncache
'Usage
Dim instance As SPPersistedObject

instance.Uncache()
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public void Uncache()

Remarks

Use the Uncache method to free the cache that is used by objects that consume large amounts of resources.

See Also

Reference

SPPersistedObject Class

SPPersistedObject Members

Microsoft.SharePoint.Administration Namespace