TaxonomyNavigation.FlushTermSetFromCache method (SPWeb, Guid, Guid)

Discards the specified TermSet object from the taxonomy navigation cache.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Shared Sub FlushTermSetFromCache ( _
    webForPermissions As SPWeb, _
    termStoreId As Guid, _
    termSetId As Guid _
)
'Usage
Dim webForPermissions As SPWeb
Dim termStoreId As Guid
Dim termSetId As GuidTaxonomyNavigation.FlushTermSetFromCache(webForPermissions, _
    termStoreId, termSetId)
public static void FlushTermSetFromCache(
    SPWeb webForPermissions,
    Guid termStoreId,
    Guid termSetId
)

Parameters

  • webForPermissions
    Type: Microsoft.SharePoint.SPWeb

    A SPWeb object that provides the user identity for permissions checks and identifies the cache partition to be flushed.

Remarks

This operation requires AddListItems permissions.

See also

Reference

TaxonomyNavigation class

TaxonomyNavigation members

FlushTermSetFromCache overload

Microsoft.SharePoint.Publishing.Navigation namespace