SE_serverconfig_alter

Alters all values of SERVER_CONFIG table

Usage syntax

LONG SE_serverconfig_alter(SE_CONNECTION handle, const SE_SERVERINFO svrInfo, SE_SVR_CONFIG_ERR *svr_conf_err_data);

Parameters
handle The SDE connection handle
svrInfo The new values for SERVER_CONFIG table
svr_conf_err_data Server config error data
Description

This function alters all parameter values in the SERVER_CONFIG table to those in the populated SE_SERVERINFO object. To change one or more server configuration values:

Changes to the server configuration will stop upon the first failure to alter a server configuration parameter. If an error occurs (other than SE_INVALID_RELEASE or SE_INSTANCE_IS_READ_ONLY) the structure svr_conf_err_data will contain the parameter that caused the first failure.

For a description of the server configuration parameters, refer to the topic ArcSDE initialization parameters in the ArcGIS Server help.

Returns

SE_SUCCESS
SE_DB_IO_ERROR

SE_INSTANCE_IS_READ_ONLY

SE_INVALID_SERVERINFO_OBJECT

SE_NET_FAILURE

SE_NO_PERMISSIONS

SE_TABLE_NOEXIST