...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiActivateModel (SdaiServerContext serverContextId);
|
Reads the optional message given by the system administrator when the EDMserver has been set unavailable for maintenance reasons.
...
Arguments
...
Type | Name | Comment |
SdaiString | unavailableMessage | Variable that will receive a pointer to a message from the system administrator. The text string will be located in an internal buffer and will be overwritten by the next EDMinterface call. Do not free this address with edmiFree | ;
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
SdaiInteger nConnected; tEdmiWhoIsOn *pWhoIsOn; SdaiString unavailMsg; . . . if (edmiWhoIsOn(&nConnected, &pWhoIsOn) == edmiEUNAVAILABLE)) { |
...
edmiGetUnavailableMessage(&unavailMsg); |
...
printf("NOTE: System is unavailable!\n") |
...
printf("Message from System Administrator\n"); |
...
printf("%s", unavailMsg); } |
}
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|