UpdateCache method

TermStore.UpdateCache method

SharePoint 2013

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.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

public void UpdateCache()

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.

© 2015 Microsoft