Oracle Objects for OLE
Release 9.0.1

Part Number A90173-01

Home

Book List

Contents

Master Index

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 via the current application and no others. This means that it is not possible to share sessions across applications, only within applications.


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents