MetadataStore::RollbackTransaction Method
Cancels the current explicit transaction and rolls the metadata store back to the state it was in before the transaction was started.
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | A metadata store has not been opened or created, or an explicit transaction was not started. |
When this method is called, any metadata changes that were made after the previous call to BeginTransaction will be discarded.
Show: