IVsDataTransaction.CurrentTransactionLevel 屬性
當由類別實作時,取得值表示目前層級的數值。
命名空間: Microsoft.VisualStudio.Data.Services.SupportEntities
組件: Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)
語法
'宣告
ReadOnly Property CurrentTransactionLevel As Integer
int CurrentTransactionLevel { get; }
property int CurrentTransactionLevel {
int get ();
}
abstract CurrentTransactionLevel : int with get
function get CurrentTransactionLevel () : int
屬性值
類型:Int32
指定目前的交易層級的整數值。
備註
交易層級套用,當提供者支援巢狀交易時,同時也提供追蹤巢狀層級。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。