Oracle Objects for OLE C++ Class Library
Release 9.0.1

Part Number A90172-01

Home

Book List

Contents

Master Index

Feedback

OSessionCollection Method

Applies To

OSessionCollection

Description

OSessionCollection
constructor

Usage

OSessionCollection
(void)

OSessionCollection(const OSessionCollection &othercoll)

Arguments

othercoll
Another OSessionCollection object that you are copying.
Remarks

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.


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents