TermStore.UpdateCache method
Forces the Taxonomy cache to communicate with the managed metadata service to check for changes to any taxonomy objects in a TermStore.
Namespace: Microsoft.SharePoint.Client.Taxonomy
Assembly: Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)
Syntax
'Declaration
Public Sub UpdateCache
'Usage
Dim instance As TermStore
instance.UpdateCache()
public void UpdateCache()
Remarks
A background thread already performs these checks at periodic intervals, so calling UpdateCache() is normally unnecessary. However, it is sometimes useful immediately before a change (to reduce the likelihood of save conflict errors), or immediately after a change (if that change may have been performed via a different Web Front End (WFE)).
This operation can also be performed via the updateCache parameter for the server-side TaxonomySession constructor.