共用方式為


TransactionManager.TransactionDepth Property

Gets the depth of the nested transactions.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public ReadOnly Property TransactionDepth As Integer
    Get
public int TransactionDepth { get; }
public:
property int TransactionDepth {
    int get ();
}
member TransactionDepth : int
function get TransactionDepth () : int

Property Value

Type: System.Int32
A number that indicates how many levels of transactions are currently active.

.NET Framework Security

See Also

Reference

TransactionManager Class

Microsoft.VisualStudio.Modeling Namespace