Skip Headers

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

Part Number B10119-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

GetConnection

Applies To

ODatabase

ODynaset

OSqlStmt

Description

This method returns the associated connection object by way of an OConnection handle.

Usage

OConnection GetConnection(void) const

Remarks

This method returns an OConnection on the connection that is associated with the object. Note that this does not create another connection object; rather, it returns another OConnection that is a handle for an already existing connection object.

Return Value

An OConnection, which will be open on success, closed on failure.