Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

OConnectionCollection

This class is a convenient wrapper for a collection of OConnections. It is a subclass of OOracleCollection.

You can get OConnectionCollection objects from an OSession object with the GetConnections method. The OConnectionCollection is dynamic: it always reflects the current set of connections of the session it came from, even if the connections are added after you get the collection. It is read-only. You cannot add OConnections through the collection.

You can get a particular OConnection object from the OConnectionCollection using the GetConnection method.

The OConnectionCollection class supports the following methods:

Construction and destruction:

OConnectionCollection

~OConnectionCollection

operator=

Attributes:

operator==

operator!=

IsOpen

Operations:

Close

GetConnection

GetCount

Error Handling:

ErrorNumber

ErrorReset

GetErrorText

LookupErrorText


 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback