다음을 통해 공유


TransactionDepth 속성

Gets the current transaction depth for the referenced connection.

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo.dll의 Microsoft.SqlServer.ConnectionInfo

구문

‘선언
Public ReadOnly Property TransactionDepth As Integer
    Get
‘사용 방법
Dim instance As ServerConnection
Dim value As Integer

value = instance.TransactionDepth
public int TransactionDepth { get; }
public:
property int TransactionDepth {
    int get ();
}
member TransactionDepth : int
function get TransactionDepth () : int

속성 값

형식: System. . :: . .Int32
An Int32 value that specifies the current transaction depth for the referenced connection.

주의

A connection can experience nested transactions. The transaction depth refers to the number of nested transactions.

예제

속성 설정