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.Uri

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

  • siteId
    类型:System.Guid

    A GUID that identifies the site.

返回值

类型:System.Boolean
true if the entry was cached; otherwise, false.

另请参阅

引用

SPSite 类

SPSite 成员

Microsoft.SharePoint 命名空间