共用方式為


AdoDotNetConnectionSupport.CurrentTransactionLevel 屬性

擷取目前的交易層級。

命名空間:  Microsoft.VisualStudio.Data.AdoDotNet
組件:  Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.dll 中)

語法

'宣告
Public Overridable ReadOnly Property CurrentTransactionLevel As Integer
public virtual int CurrentTransactionLevel { get; }
public:
virtual property int CurrentTransactionLevel {
    int get ();
}
abstract CurrentTransactionLevel : int with get 
override CurrentTransactionLevel : int with get
function get CurrentTransactionLevel () : int

屬性值

類型:Int32
傳回表示目前層級的整數表示。

備註

基底實作會假設只單層交易是由提供者在交易支援並傳回 1,如果和 0 則為。

.NET Framework 安全性

請參閱

參考

AdoDotNetConnectionSupport 類別

Microsoft.VisualStudio.Data.AdoDotNet 命名空間