Terminate()
Terminates the session forcedly. The terminated session cannot work with GDB/shared library any more. This method may return the error code 2206 of GIS kernel (Timeout of getting the GDB sessions information) or 2215 (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 method repeatedly. Timeout of getting information about sessions (in seconds) can be get/set by the GeoDatabase::InfoTimeOut and SharedLibrary::InfoTimeOut properties.