|Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 1 (10.1)
Part Number B10119-01
This method returns the associated session object by way of an OSession handle.
OSession GetSession(void) const
This method returns on OSession on the session that is associated with the object. Note that this does not create another session object; rather, it returns another OSession that is a handle for an already existing session object.
An OSession, which will be open on success, closed on failure.