MetadataStore::IsTransactionActive Method

When overridden in a derived class, indicates whether an active transaction exists on the metadata store.

Namespace:  Microsoft.Synchronization.MetadataStorage
Assembly:  Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)

public:
virtual bool IsTransactionActive(
	[OutAttribute] IsolationLevel% isolationLevel
) abstract

Parameters

isolationLevel
Type: System.Data::IsolationLevel%
Returns the isolation level of the currently active transaction, or Unspecified if no active transaction exists.

Return Value

Type: System::Boolean
true if an active transaction exists on the metadata store; otherwise, false.

An active transaction can be started by calling BeginTransaction.

Show: