Метод 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.