Share via


TaxonomyNavigation.FlushWebFromCache method

Discards the specified Web object from the taxonomy navigation cache.

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

Syntax

'Declaration
Public Shared Sub FlushWebFromCache ( _
    context As ClientRuntimeContext, _
    web As Web _
)
'Usage
Dim context As ClientRuntimeContext
Dim web As WebTaxonomyNavigation.FlushWebFromCache(context, _
    web)
public static void FlushWebFromCache(
    ClientRuntimeContext context,
    Web web
)

Parameters

Remarks

Note

The method does not flush any term sets owned by the Site; use the FlushTermSetFromCache() method or the FlushAllCacheContents method to do that.

This operation requires AddListItems permissions.

See also

Reference

TaxonomyNavigation class

TaxonomyNavigation members

Microsoft.SharePoint.Client.Publishing.Navigation namespace