|Oracle Objects for OLE C++ Class Library
Part Number A95896-01
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: