Compartir a través de


DataTransaction.CurrentTransactionLevel Property

Retrieves a numeric value indicating the current transaction level.

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

Syntax

'Declaration
Public Overridable ReadOnly Property CurrentTransactionLevel As Integer
public virtual int CurrentTransactionLevel { get; }
public:
virtual property int CurrentTransactionLevel {
    int get ();
}
abstract CurrentTransactionLevel : int with get 
override CurrentTransactionLevel : int with get
function get CurrentTransactionLevel () : int

Property Value

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

Remarks

Transaction levels apply when the provider supports nested transactions, and therefore provides a way to track nesting levels.

.NET Framework Security

See Also

Reference

DataTransaction Class

Microsoft.VisualStudio.Data Namespace