Share via


SPSite.InvalidateCacheEntry - Méthode

Removes the specified cache entry and returns a Boolean value that indicates whether the entry was cached.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Shared Function InvalidateCacheEntry ( _
    uri As Uri, _
    siteId As Guid _
) As Boolean
'Utilisation
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
)

Paramètres

  • uri
    Type : System.Uri

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

  • siteId
    Type : System.Guid

    A GUID that identifies the site.

Valeur renvoyée

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

Voir aussi

Référence

SPSite classe

SPSite - Membres

Microsoft.SharePoint - Espace de noms