Skip Headers

Oracle® Objects for OLE Developer's Guide
Release 9.2.0.4

Part Number B10952-01
Go To Table Of Contents
Contents

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.


 
Oracle
Copyright © 1994, 2003 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents