Share via


TaxonomyNavigation.FlushSiteFromCache method

Discards the specified Site 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 FlushSiteFromCache ( _
    context As ClientRuntimeContext, _
    site As Site _
)
'Usage
Dim context As ClientRuntimeContext
Dim site As SiteTaxonomyNavigation.FlushSiteFromCache(context, _
    site)
public static void FlushSiteFromCache(
    ClientRuntimeContext context,
    Site site
)

Parameters

Remarks

Note

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

This operation requires userIsSiteAdminInSystem() permissions.

See also

Reference

TaxonomyNavigation class

TaxonomyNavigation members

Microsoft.SharePoint.Client.Publishing.Navigation namespace