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
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
site
Type: Microsoft.SharePoint.Client.SiteSite object to discard from the taxonomy navigation cache.
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.