Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates whether an active transaction exists on the metadata store.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)
Syntax
'Declaration
Public Overrides Function IsTransactionActive ( _
<OutAttribute> ByRef isolationLevel As IsolationLevel _
) As Boolean
'Usage
Dim instance As SqlMetadataStore
Dim isolationLevel As IsolationLevel
Dim returnValue As Boolean
returnValue = instance.IsTransactionActive(isolationLevel)
public override bool IsTransactionActive (
out IsolationLevel isolationLevel
)
public:
virtual bool IsTransactionActive (
[OutAttribute] IsolationLevel% isolationLevel
) override
public boolean IsTransactionActive (
/** @attribute OutAttribute() */ /** @ref */ IsolationLevel isolationLevel
)
JScript does not support passing value-type arguments by reference.
Parameters
- isolationLevel
Returns the isolation level of the currently active transaction, or System.Data.IsolationLevel.Unspecified if no active transaction exists.
Return Value
true if an active transaction exists on the metadata store; otherwise, false.
Remarks
An active transaction can be started by calling BeginTransaction.
See Also
Reference
SqlMetadataStore Class
SqlMetadataStore Members
Microsoft.Synchronization.MetadataStorage Namespace