DbTransaction.DbConnection プロパティ

定義

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

protected:
 abstract property System::Data::Common::DbConnection ^ DbConnection { System::Data::Common::DbConnection ^ get(); };
protected abstract System.Data.Common.DbConnection 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 個以上のトランザクションを持つ場合があります。 このプロパティを使用すると、特定のトランザクションに関連付けられている接続オブジェクトを特定できます。

適用対象

こちらもご覧ください