edmiGetUnavailableMessage

EdmiError edmiActivateModel (SdaiServerContext serverContextId); 

Reads the optional message given by the system administrator when the EDMserver has been set unavailable for maintenance reasons.

Arguments


TypeNameComment
SdaiStringunavailableMessageVariable 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


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

Options


 

Example


 

 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

There are no items with the selected labels at this time.

Â