This topic has not yet been rated - Rate this topic

TermStore.CommitAll Method

SharePoint 2010

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

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
public void CommitAll()

When objects are edited in the TermStore object, or in child objects such as Group, TermSet, or 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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ