...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiStopServer(SdaiString password,
SdaiClientId clientId,
SdaiOptions options);
|
Terminates the actual EDMserver process. The EDMserver process will not terminate before all connected clients have disconnected. No new connections from the clients are accepted after the edmiStopServer function is executed.
...
The EDMdatabase used by the actual EDMserver will be closed before the EDMserver is terminated.
...
This function is protected by the superuser password, i.e. this function can be performed by the superuser and any other users that can supply the password of the superuser.
Arguments
...
Type | Name | Comment |
SdaiString | password | The password of the EDMuser superuser. If the calling user is already connected as EDMuser superuser, the <password> argument is dummy. |
...
SdaiClientId | clientId | |
SdaiOptions | options |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Option | Comment |
---|---|
FORCE_TO_TERMINATE | |
CLOSE_SERVER_OUTPUT_WINDOW | |
ALL_SERVERS |
Example
...
Code Block | ||
---|---|---|
| ||
EdmiError rstat; ... if (rstat = edmiStopServer ("x@dkh-a")) { |
...
/* Error in operation */ |
...
printf("\nError in edmiStopServer: %s", |
...
edmiGetErrorText(rstat)); |
...
goto error; |
...
}
. . . |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|