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
override CurrentTransactionLevel : int
function get CurrentTransactionLevel () : int

プロパティ値

型 : System.Int32
現在のトランザクションのレベルの整数表現を返します。

解説

基本実装では、トランザクションの 1 レベルのみプロバイダーでサポートされており、トランザクションで 1 と 0 を別の方法で返すことを前提としています。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

AdoDotNetConnectionSupport クラス

Microsoft.VisualStudio.Data.AdoDotNet 名前空間