TermStore.RollbackAll method

Discards all updates that have occurred since the last commit or rollback.

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

public void RollbackAll()

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 or RollbackAll() method is called. If TermStore.RollbackAll is called the updates that were made since the last TermStore.CommitAll or TermStore.RollbackAll are discarded.