DB2®Transaction.DbConnection Property
Specifies the DbConnection object associated with the transaction.
- Namespace:
IBM.Data.DB2- Assembly:
IBM.Data.DB2(inIBM.Data.DB2.dll)
Syntax
[Visual Basic]
Public ReadOnly Property DbConnection As DbConnection
[C#]
public DbConnection DbConnection {get;}
[C++]
public: __property DbConnection* get_DbConnection();
[JScript]
public function get DbConnection() : DbConnection;
Property value
The DbConnection object associated with the transaction.
Remarks
A single application may have multiple database connections, each with its own transaction. This property enables you to determine the connection object associated with a particular transaction.