SE_connection_instance_control |
Controls the state of the ArcSDE geodatabase, disallowing further connections (PAUSE), or allowing connections again (RESUME)
LONG SE_connection_instance_control (SE_CONNECTION handle, LONG option)
handle | The connection handle |
option | The control option to be applied. Either: SE_CONTROL_INSTANCE_PAUSE SE_CONTROL_INSTANCE_RESUME |
This function alters the status in the SERVER_CONFIG (or sde_server_config) table, to either allow or disallow new connections to be made to the geodatabase. This works for both ArcSDE service and direct connections.
SE_SUCCESS
SE_FAILURE
SE_INVALID_SERVER
SE_INVALID_POINTER
SE_INVALID_DBA_PASSWORD
SE_NET_FAILURE
SE_INVALID_PARAM_VALUE
SE_OUT_OF_CLMEM
SE_OUT_OF_SVMEM
SE_SERVICE_NOT_FOUND