SE_connection_test_server |
Tests whether currently connected to ArcSDE server
LONG SE_connection_test_server (SE_CONNECTION connection, time_t interval);
connection | The connection handle |
interval | Maximum seconds since last round trip to server |
The function SE_connection_test_server checks whether an open connection to an ArcSDE server is connected. If still connected, this function returns SE_SUCCESS. If disconnected, it returns SE_LOST_DBMS_CONNECTION.
If there have been any round trips to the server of any kind within the number of seconds specified with the interval parameter, this function immediately returns SE_SUCCESS. Otherwise, the function performs a query to the server to check the connection.