Sessions

The Sessions collection contains Session objects representing descriptors of GIS kernel sessions. Access to collection items is possible by internal numbers of sessions. Continuity of session numbers is not guaranteed. Persistence of the session internal number is guaranteed until its existence. To actualize objects in the collection, use the Refresh method. This method may return the error code 2215 of GIS kernel (Timeout of the access to information about sessions of the shared library) because of timeout of getting information about sessions. Applications can handle this error by calling the Refresh method again. Timeout of getting information about sessions can be get/set by the SharedLibrary::InfoTimeOut property. The collection is empty if there is exclusive access to the shared library.