Oracle Objects for OLE C++ Class Library
Release 9.0.1

Part Number A90172-01

Home

Book List

Contents

Master Index

Feedback

GetSession Method

Applies To

OSession

ODatabase

ODynaset

OSqlStmt

Description

This method returns the associated session object by way of an OSession handle.

Usage

OSession GetSession(void) const

Remarks

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.

Return Value

An OSession, which will be open on success, closed on failure.


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents