SE_connection_instance_control

Controls the state of the ArcSDE geodatabase, disallowing further connections (PAUSE), or allowing connections again (RESUME)

Usage syntax

LONG SE_connection_instance_control (SE_CONNECTION handle, LONG option)

Parameters
handle The connection handle
option The control option to be applied. Either:
  SE_CONTROL_INSTANCE_PAUSE
  SE_CONTROL_INSTANCE_RESUME
Description

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.

Returns

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