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.
Starts an explicit transaction on the metadata store that has an isolation level of ReadCommitted.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
Syntax
'Declaration
Public Sub BeginTransaction
'Usage
Dim instance As SqlMetadataStore
instance.BeginTransaction()
public void BeginTransaction()
public:
void BeginTransaction()
member BeginTransaction : unit -> unit
public function BeginTransaction()
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 already started. |
Remarks
Changes that are saved after this method is called are not committed to the store until CommitTransaction is called.