TransactionDepth 屬性
Gets the current transaction depth for the referenced connection.
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
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.