SE_instance_status

Gets status information on an ArcSDE instance

Usage syntax

LONG SE_instance_status (const CHAR *server, const CHAR *instance, SE_instance_status *istatus);

Parameters
server The server name
instance The ArcSDE instance name
istatus Pointer to the SE_INSTANCE_STATUS structure
Description

SE_instance_status returns the current status of the specified instance running on the specified server node. The default instance name is esri_sde.

typedef struct {
SE_VERSION version;     /* Release version of specified instance */
LONG connections;       /* Number of current connections to SDE on node */
LONG system_mode;       /* Accepting connections or blocking */
} SE_INSTANCE_STATUS;

The system_mode parameter options are:

   SE_INSTANCE_ACCEPTING
SE_INSTANCE_BLOCKING

Returns

SE_SUCCESS
SE_FAILURE

SE_INSTANCE_NOT_AVAILABLE

SE_INVALID_SERVER

SE_IOMGR_NOT_AVAILABLE

SE_NET_FAILURE

SE_OUT_OF_CLMEM

SE_SERVICE_NOT_FOUND