Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Commits an explicit transaction that has already started on the metadata store.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
Syntax
'Declaration
Public Overrides Sub CommitTransaction
'Usage
Dim instance As SqlMetadataStore
instance.CommitTransaction()
public override void CommitTransaction()
public:
virtual void CommitTransaction() override
abstract CommitTransaction : unit -> unit
override CommitTransaction : unit -> unit
public override function CommitTransaction()
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | This object has been disposed or was not initialized correctly. |
| InvalidOperationException | A metadata store has not been opened or created, or a transaction was not started. |
Remarks
When this method is called, all changes that are made after the previous call to BeginTransaction are committed to the metadata store.