Share via


SPSite.InvalidateCacheEntry-Methode

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)

Syntax

'Declaration
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)
public static bool InvalidateCacheEntry(
    Uri uri,
    Guid siteId
)

Parameter

  • uri
    Typ: System.Uri

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

  • siteId
    Typ: System.Guid

    A GUID that identifies the site.

Rückgabewert

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

Siehe auch

Referenz

SPSite Klasse

SPSite-Member

Microsoft.SharePoint-Namespace