OleDbTransaction.Connection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the OleDbConnection object associated with the transaction, or null
if the transaction is no longer valid.
public:
property System::Data::OleDb::OleDbConnection ^ Connection { System::Data::OleDb::OleDbConnection ^ get(); };
public System.Data.OleDb.OleDbConnection Connection { get; }
public System.Data.OleDb.OleDbConnection? Connection { get; }
member this.Connection : System.Data.OleDb.OleDbConnection
Public ReadOnly Property Connection As OleDbConnection
Property Value
The OleDbConnection object associated with the transaction.
Remarks
A single application may have multiple database connections, each with zero or more transactions. This property lets you determine the connection object associated with a particular transaction created by BeginTransaction.
Applies to
See also
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示