TermStore.CommitAll Method


Commits all updates to the database that have occurred since the last commit or rollback.

 void CommitAll();
public void CommitAll ();
member this.CommitAll : unit -> unit
Public Sub CommitAll ()


When objects are edited in the TermStore object, or in child objects such as Group, Microsoft.SharePoint.TermSet, or Microsoft.SharePoint.Term, the changes are pending until the CommitAll() method is called. Once it is called, the updates that were made since the last CommitAll() or RollbackAll() method calls are persisted to the term store's database. A successful call to CommitAll flushes the cache so that other consumers of the TermStore object will see your updates.

Applies to