DbTransaction.DbConnection プロパティ

定義

派生クラスでオーバーライドされると、トランザクションに関連付けられている DbConnection オブジェクトを取得します。

protected:
 abstract property System::Data::Common::DbConnection ^ DbConnection { System::Data::Common::DbConnection ^ get(); };
protected abstract System.Data.Common.DbConnection DbConnection { get; }
member this.DbConnection : System.Data.Common.DbConnection
Protected MustOverride ReadOnly Property DbConnection As DbConnection

プロパティ値

トランザクションに関連付けられている DbConnection オブジェクト。

注釈

1 つのアプリケーションに複数のデータ ソース接続があり、それぞれにトランザクションが 0 個以上ある場合があります。 このプロパティを使用すると、特定のトランザクションに関連付けられている接続オブジェクトを特定できます。

適用対象

こちらもご覧ください