Compartilhar via


TermStore.CommitAll Method

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)

Syntax

'Declaration
Public Sub CommitAll
'Usage
Dim instance As TermStore

instance.CommitAll()
public void CommitAll()

Remarks

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.

See Also

Reference

TermStore Class

TermStore Members

Microsoft.SharePoint.Taxonomy Namespace

RollbackAll()