Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
Release 9.2.0.4

Part Number B10954-01
Go To Table Of Contents
Contents

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.


 
Oracle
Copyright © 1998, 2003 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents