OdbcTransaction.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 OdbcConnection object associated with the transaction, or null
if the transaction is no longer valid.
public:
property System::Data::Odbc::OdbcConnection ^ Connection { System::Data::Odbc::OdbcConnection ^ get(); };
public System.Data.Odbc.OdbcConnection? Connection { get; }
public System.Data.Odbc.OdbcConnection Connection { get; }
member this.Connection : System.Data.Odbc.OdbcConnection
Public ReadOnly Property Connection As OdbcConnection
Property Value
The OdbcConnection 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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για