TransactionDepth propriété
Gets the current transaction depth for the referenced connection.
Espace de noms : Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (dans Microsoft.SqlServer.ConnectionInfo.dll)
Syntaxe
'Déclaration
Public ReadOnly Property TransactionDepth As Integer
Get
'Utilisation
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
Valeur de la propriété
Type : System. . :: . .Int32
An Int32 value that specifies the current transaction depth for the referenced connection.
Notes
A connection can experience nested transactions. The transaction depth refers to the number of nested transactions.
Voir aussi