Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)

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

ODatabaseCollection Method

Applies To

ODatabaseCollection

Description

ODatabaseCollection constructor

Usage

ODatabaseCollection(void)

ODatabaseCollection(const ODatabaseCollection &othercoll)

Arguments

othercoll
Another ODatabaseCollection object that you are copying
Remarks

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.