Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E17727-03 |
|
|
PDF · Mobi · ePub |
Returns the collection of all sessions for the specified OraClient
object. Not available at design time and read-only at run time.
Set orasessions_collection = oraclient.Sessions
OLE Object (OraSessions
)
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.