Gets the depth of the nested transactions.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public ReadOnly Property TransactionDepth As Integer
'使用
Dim instance As TransactionManager
Dim value As Integer
value = instance.TransactionDepth
public int TransactionDepth { get; }
public:
property int TransactionDepth {
int get ();
}
public function get TransactionDepth () : int
Property Value
Type: System.Int32
A number that indicates how many levels of transactions are currently in effect.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.