MarkLogic 12 EA 1 Product Documentation
xdmp.serverName

xdmp.serverName(
   id as (Number|String)
) as String

Summary

Return the name of the App Server, XDBC Server, ODBC Server, or Task Server with the given ID.

Parameters
id An App Server, XDBC Server, ODBC Server, or Task Server ID.

Example

xdmp.serverName(845637403676198);
=> "Docs"
Powered by MarkLogic Server | Terms of Use | Privacy Policy