Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
See Also |
Example |
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. |
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.