Oracle Objects for OLE C++ Class Library Release 9.2 Part Number A95896-01 |
|
Applies To
Description
ODatabaseCollection constructor
Usage
ODatabaseCollection(void)
ODatabaseCollection(const ODatabaseCollection &othercoll)
Arguments
othercoll |
Another ODatabaseCollection object that you are copying |
These methods construct a new ODatabaseCollection instance.
Constructing an ODatabaseCollection does not create any connections or ODatabase objects.
The default constructor constructs an unopened ODatabaseCollection object.
The copy constructor copies another ODatabaseCollection object. If that other ODatabaseCollection object is open - which means it is a handle on an implementation DatabaseCollection object - the new ODatabaseCollection object becomes a handle to that same DatabaseCollection object. The copy constructor can fail; check whether the new ODatabaseCollection is open after the constructor call.
There is no Open method for the ODatabaseCollection class. To get an open ODatabaseCollection, call one of the GetDatabase methods.
|
Copyright © 1998, 2002 Oracle Corporation. All Rights Reserved. |
|