xdmp:shutdown( $hostIDs as xs:unsignedLong*, $reason as xs:string ) as empty-sequence()
Shutdown servers on hosts.
Parameters | |
---|---|
hostIDs | A sequence of host IDs, or empty sequence for the local host. |
reason | Prepositional phrase describing the reason to shutdown. |
http://marklogic.com/xdmp/privileges/xdmp-shutdown
xdmp:shutdown((), "for software upgrade")
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.