DB2Transaction.Connection Property
Specifies the DB2Connection object associated with the transaction.
- Namespace:
IBM.Data.DB2
- Assembly:
IBM.Data.DB2
(inIBM.Data.DB2.dll
)
Syntax
[Visual Basic]
Public ReadOnly Property Connection As DB2Connection
[C#]
public DB2Connection
Connection {get;}
[C++]
public: __property DB2Connection
* get_Connection();
[JScript]
public function get Connection() : DB2Connection
;
Property value
The DB2®Connection 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.