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.SPWebA SPWeb object that provides the user identity for permissions checks and identifies the cache partition to be flushed.
termStoreId
Type: System.GuidID of the TermStore object that contains the TermSet object to be flushed.
termSetId
Type: System.GuidID of the TermSet object to be flushed.
Remarks
This operation requires AddListItems permissions.