Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
InvalidateCacheEntry method

SPSite.InvalidateCacheEntry method

Removes the specified cache entry and returns a Boolean value that indicates whether the entry was cached.

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

public static bool InvalidateCacheEntry(
	Uri uri,
	Guid siteId


Type: System.Uri

A System.Uri object that represents the absolute URL from the request.

Type: System.Guid

A GUID that identifies the site.

Return value

Type: System.Boolean
true if the entry was cached; otherwise, false.
© 2015 Microsoft