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

ConnectSession Method

See Also
Example
Applies To

OraSession

Description

Returns the OraSession object with the specified name that is associated with the specified session's OraClient object.

Usage

Set orasession2 = orasession1.ConnectSession(session_name)

Arguments

session_name
A string, specifying the name of the session.
Remarks

This method is provided for simplicity and is equivalent to iterating through the OraSessions collection of the current session's OraClient object and searching for a session named session_name. The OraSessions collection will contain only sessions created through the current application and no others. This means that it is not possible to share sessions across applications, only within applications.