TaxonomyNavigation.FlushSiteFromCache method

Discards the specified SPSite 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 FlushSiteFromCache ( _
    site As SPSite _
)
'Usage
Dim site As SPSiteTaxonomyNavigation.FlushSiteFromCache(site)
public static void FlushSiteFromCache(
    SPSite site
)

Parameters

Remarks

Note

The method does not flush any term sets owned by the SPSite 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.Publishing.Navigation namespace