DbTransaction.IDbTransaction.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 DbConnection object associated with the transaction, or a null reference if the transaction is no longer valid.
property System::Data::IDbConnection ^ System::Data::IDbTransaction::Connection { System::Data::IDbConnection ^ get(); };
System.Data.IDbConnection? System.Data.IDbTransaction.Connection { get; }
System.Data.IDbConnection System.Data.IDbTransaction.Connection { get; }
member this.System.Data.IDbTransaction.Connection : System.Data.IDbConnection
ReadOnly Property Connection As IDbConnection Implements IDbTransaction.Connection
Property Value
The DbConnection object associated with the transaction.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the DbTransaction instance is cast to an IDbTransaction interface.
Applies to
See also
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.