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