Share via


DataTransaction.CurrentTransactionLevel Property

Gets a numeric value indicating the current transaction level.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property CurrentTransactionLevel As Integer
'Usage
Dim instance As DataTransaction 
Dim value As Integer 

value = instance.CurrentTransactionLevel
public virtual int CurrentTransactionLevel { get; }
public:
virtual property int CurrentTransactionLevel {
    int get ();
}
public function get CurrentTransactionLevel () : int

Property Value

Type: System.Int32
An integer value specifying the current transaction level.

Implements

IVsDataTransaction.CurrentTransactionLevel

Remarks

Transaction levels apply when the provider supports nested transactions, and therefore provides a way to track nesting levels. When the value is zero, there is no transaction.

.NET Framework Security

See Also

Reference

DataTransaction Class

DataTransaction Members

Microsoft.VisualStudio.Data.Framework Namespace