Oracle Objects for OLE C++ Class Library
Release 9.0.1

Part Number A90172-01

Home

Book List

Contents

Master Index

Feedback

OSessionCollection

The OSessionCollection object is the set of sessions that exists for a given client. You can get OSessionCollection objects from an OClient object using the GetSessions method. OSessionCollection is a subclass of OOracleCollection.

The OSessionCollection is dynamic: it always reflects the current set of sessions of the client it came from, even if the sessions are added after you get the collection. It is read-only. You cannot add sessions through the collection.

You can obtain individual OSessions from an OSessionCollection using the GetSession method.

The OSessionCollection class supports the following methods:

Construction and destruction:

OSessionCollection

~OSessionCollection

operator=

Attributes:

operator==

operator!=

GetCount

IsOpen

Operations:

Close

GetSession

Error Handling:

ErrorNumber

ErrorReset

GetErrorText

LookupErrorText


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents