TermStore.UpdateCache Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Forces the Taxonomy cache to communicate with the managed metadata service to check for changes to any taxonomy objects in a TermStore.
public:
void UpdateCache();
[Microsoft.SharePoint.Client.ClientCallable(ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful)]
public void UpdateCache ();
member this.UpdateCache : unit -> unit
Public Sub UpdateCache ()
- Attributes
-
ClientCallableAttribute
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.
Applies to
Feedback
Submit and view feedback for