Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
Applies To
Description
Returns the OraConnection object associated with the specified database, dynaset, or sqlstmt object. Not available at design time and read-only at run time.
Usage
Set oraconnection = oradatabase.Connection
Set oraconnection = oradynaset.Connection
Set oraconnection = orasqlstmt.Connection
Remarks
OraDatabase.Connection returns the connection object associated with the specified database. Each database is associated with one connection object, but many databases can share the same connection object.
OraDynaset.Connection returns the connection object associated with this dynaset. This is equivalent to referencing oradynaset.Database.Connection.
OraSQLStmt.Connection returns the connection object associated with this sqlstmt object. This is equivalent to referencing orasqlstmt.Database.Connection.
Data Type
OLE Object (OraConnection)