Forces the Taxonomy cache to communicate with the managed metadata service to check for changes to any taxonomy objects in a TermStore.
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
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.