Sessions Property

Applies To

OraClient Object


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

Data Type

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.