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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。