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
site
Type: Microsoft.SharePoint.SPSiteSPSite object to discard rom the taxonomy navigation cache.
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.