xpxSetUnavailable

FUNCTION xpxSetUnavailable(password           : STRING;
                           unavailableMessage : STRING)
                           status             : INTEGER;

The xpxSetUnavailable function sets the actual EDMdatabase unavailable for new connections. The actual EDMdatabase will be unavailable for new connections until the xpxSetAvailable function is performed, hence the unavailable state will remain during closing and opening of the actual EDMdatabase.

Clients trying to connect to an unavailable EDMdatabase will receive the message specified in the argument <unavailableMessage> in the last invocation of the xpxSetUnavailable function. This message should normally give the reason why the EDMdatabase is being unavailable. This function is protected by <password>, i.e. only legal for the privileged EDM user superuser.

Arguments


TypeNameComment
STRINGpasswordsuper user password
STRINGunavailableMessageThe given unavailable messing string

Return Value


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

Options


 

Example


<Missing Example>

 

See also

Filter by label

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