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.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)
Syntax
'Declaration
Public MustOverride Sub RollbackTransaction
'Usage
Dim instance As MetadataStore
instance.RollbackTransaction
public abstract void RollbackTransaction ()
public:
virtual void RollbackTransaction () abstract
public abstract void RollbackTransaction ()
public abstract function RollbackTransaction ()
Exceptions
Exception type | Condition |
---|---|
A metadata store has not been opened or created, or an explicit transaction was not started. |
Remarks
When this method is called, any metadata changes that were made after the previous call to BeginTransaction will be discarded.
See Also
Reference
MetadataStore Class
MetadataStore Members
Microsoft.Synchronization.MetadataStorage Namespace