共用方式為


ServerConnection.TransactionDepth Property

Definition

Provides the transaction depth as counted by the object model. This doesn't include any transactions that may have been started on the server, or by issuing BEGIN TRAN with the ExecuteNonQuery method.

public int TransactionDepth { get; }
member this.TransactionDepth : int
Public ReadOnly Property TransactionDepth As Integer

Property Value

Applies to