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
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.