Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E12245-01 |
|
|
View PDF |
Applies To
Description
Returns the collection of all sessions for the specified OraClient
object. Not available at design time and read-only at run time.
Usage
Set orasessions_collection = oraclient.Sessions
Data Type
OLE Object (OraSessions
)
Remarks
You can access a session in this collection by subscripting (using ordinal numbers) or by using the name the session was given at its creation. You can obtain the total number of sessions in the collection by using the Count
property of the returned collection. Integer subscripts begin with 0
and end with Count-1
. Out-of-range indexes and invalid names return a Null
OraSession
object.