AdoDotNetConnectionSupport.CurrentTransaction プロパティ

現在の接続のサポートのインスタンスによって使用される DbTransaction のオブジェクトを取得します。

名前空間:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
アセンブリ:  Microsoft.VisualStudio.Data.Framework (Microsoft.VisualStudio.Data.Framework.dll 内)

構文

'宣言
Protected Property CurrentTransaction As DbTransaction
protected DbTransaction CurrentTransaction { get; set; }
protected:
property DbTransaction^ CurrentTransaction {
    DbTransaction^ get ();
    void set (DbTransaction^ value);
}
member CurrentTransaction : DbTransaction with get, set
function get CurrentTransaction () : DbTransaction
function set CurrentTransaction (value : DbTransaction)

プロパティ値

型 : System.Data.Common.DbTransaction
トランザクションの DbTransaction のオブジェクトのインスタンス、現在 nullnull 参照 (Visual Basic では Nothing)。

.NET Framework セキュリティ

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

参照

関連項目

AdoDotNetConnectionSupport クラス

Microsoft.VisualStudio.Data.Framework.AdoDotNet 名前空間