Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-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:
Attributes:
Operations:
Error Handling: