Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

Session Property

See Also

Applies To

OraConnection

OraDatabase

OraDynaset Object

OraSQLStmt

OraServer Object

Description

Returns the OraSession object associated with the specified object. Not available at design time and read-only at run time.

Usage

Set orasession = oraconnection.Session

Set orasession = oradatabase.Session

Set orasession = oradynaset.Session

Set orasession = orasqlstmt.Session

Set orasession = oraserver.Session

Remarks

oraconnection.Session returns the OraSession object in which this OraConnection object resides.

oradatabase.Session returns the OraSession object associated with this OraDatabase object. Each database is a part of one and only one session, which is by default the session associated with the application.

oradynaset.Session returns the OraSession object associated with this OraDynaset object.

orasqlstmt.Session returns the OraSession object associated with this OraSqlStmt object.

Data Type

OLE Object (OraSession)