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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for