Share via


SP.Taxonomy.TermStore.rollbackAll Method (sp.taxonomy)

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

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.Taxonomy.TermStore.rollbackAll()

Remarks

When objects are edited in the SP.Taxonomy.TermStore object (sp.taxonomy) object, or in child objects such as SP.Taxonomy.TermGroup object (sp.taxonomy), SP.Taxonomy.TermSet object (sp.taxonomy), or Term, the changes are pending until the SP.Taxonomy.TermStore.commitAll Method (sp.taxonomy) method or SP.Taxonomy.TermStore.rollbackAll Method (sp.taxonomy) method is called. If TermStore.RollbackAll is called, the updates that were made since the last TermStore.CommitAll or TermStore.RollbackAll are discarded.