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