xdmp.server( [name as String], [group as (Number|String)] ) as Sequence
Return the ID(s) of the App Servers, XDBC Servers, ODBC Servers, or Task Servers with the given name. Returns the ID of the current server if no parameter is specified.
Parameters | |
---|---|
name | A server name. |
group | A group to search. If not specified, all groups are searched. |
xdmp.server("MyAppServer"); => 15495681647217162987