Sessions
The Sessions collection contains Session objects representing descriptors of GIS kernel sessions. Access to collection items is possible by session internal number. Continuity of session numbers is not guaranteed. Persistence of session's internal number is guaranteed until its existence. To actualize objects in a collection, use the Refresh method. This method may return an error code 2206 of GIS kernel (Timeout of getting the GDB sessions information) 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 GeoDatabase::InfoTimeOut property. The collection is empty if there is exclusive access to GDB.