Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
|
Applies To
Description
OConnectionCollection constructor
Usage
OConnectionCollection(void)
OConnectionCollection(const OConnectionCollection &othercoll)
Arguments
othercoll |
Another OConnectionCollection object that you are copying |
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.