ISCSessionCollection
The Session Collection contains the active connections between the API client and the application.
The following table contains the methods for the ISCSessionCollection interface:
Method |
Description |
---|---|
IUnknown _NewEnum() |
Constructs an instance of a session enumerator object. |
ISCSession * Add() |
Construct a new, closed Session object, and adds it to the collection. |
VARIANT_BOOL Clear() |
Removes all Session objects from the collection |
long Count() |
The number of sessions in the collection. |
ISCSession * Item(long nIndex) |
Passes back a session identified by its ordered position. |
VARIANT_BOOL Remove(VARIANT SessionId) |
Removes a Session object from the collection. If the session is opened, it is closed before it is removed. All committed changes are saved in the persistence unit. |
Copyright © 2025 Quest Software, Inc. |