Skip Headers
Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 2 (10.2)

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

OConnectionCollection Method

Applies To

OConnectionCollection

Description

OConnectionCollection constructor

Usage

OConnectionCollection(void)

OConnectionCollection(const OConnectionCollection &othercoll)

Arguments

othercoll Another OConnectionCollection object that you are copying
Remarks

These methods construct a new OConnectionCollection instance.

Constructing an OConnectionCollection does not create any connections or OConnection objects.

The default constructor constructs an unopened OConnectionCollection object.

The copy constructor copies another OConnectionCollection object. If that other OConnectionCollection object is open - which means it is a handle on an implementation ConnectionCollection object - the new OConnectionCollection object becomes a handle to that same ConnectionCollection object. The copy constructor can fail; check whether the new OConnectionCollection is open after the constructor call.

There is no Open method for the OConnectionCollection class. To get an open OConnectionCollection, call one of the GetConnections methods.