Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Shared Function InvalidateCacheEntry ( _
uri As Uri, _
siteId As Guid _
) As Boolean
'Usage
Dim uri As Uri
Dim siteId As Guid
Dim returnValue As Boolean
returnValue = SPSite.InvalidateCacheEntry(uri, _
siteId)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public static bool InvalidateCacheEntry(
Uri uri,
Guid siteId
)
Parameters
uri
Type: System.UriA System.Uri object that represents the absolute URL from the request.
siteId
Type: System.GuidA GUID that identifies the site.
Return Value
Type: System.Boolean
true if the entry was cached; otherwise, false.