SPSite.InvalidateCacheEntry 方法
Removes the specified cache entry and returns a Boolean value that indicates whether the entry was cached.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Shared Function InvalidateCacheEntry ( _
uri As Uri, _
siteId As Guid _
) As Boolean
用法
Dim uri As Uri
Dim siteId As Guid
Dim returnValue As Boolean
returnValue = SPSite.InvalidateCacheEntry(uri, _
siteId)
public static bool InvalidateCacheEntry(
Uri uri,
Guid siteId
)
参数
uri
类型:System.UriA System.Uri object that represents the absolute URL from the request.
siteId
类型:System.GuidA GUID that identifies the site.
返回值
类型:System.Boolean
true if the entry was cached; otherwise, false.