Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

Connection Property

See Also

Applies To

OraDatabase

OraDynaset

OraSQLStmt

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)