OpenAPI User Guide > OpenAPI User Guide > OpenAPI Function Reference > OpenAPI Functions > IIapi_modifyConnect Function--Send Connection Parameters to Server
Was this helpful?
IIapi_modifyConnect Function--Send Connection Parameters to Server
The IIapi_modifyConnect() function sends the connection parameters, assigned in prior calls to IIapi_setConnectParam(), to the server. Once sent, parameters are cleared so as to not affect subsequent calls to IIapi_modifyConnect(). This function can be called only when no transaction is active on the specified connection.
Note:  An Ingres DBMS Server accepts only IIAPI_CP_SHARED_SYS_UPDATE once a connection is established.
This function has the following syntax:
II_VOID IIapi_modifyConnect (IIAPI_MODCONNPARM *modifyConnParm);
typdef struct _IIAPI_MODCONNPARM
{
      IIAPI_GENPARM  mc_genParm;
      II_PTR         mc_connHandle;
} IIAPI_MODCONNPARM;
This function has the following parameters:
mc_genParm
Type: input and delayed output
Specifies the generic parameters. For a description, see Generic Parameters).
mc_connHandle
Type: input
Specifies the connection handle, identifying the connection to the target server, or the environment handle.
Last modified date: 01/30/2023