Returns the names of the app servers that have configurations
in the named package.
Parameters
pkgname
The name of the package that contains the app server configurations.
start
The start position of the list of app servers. For example, if there are a total of
50 app servers and the pageLength is set to 5, then start=6
returns a list of 5 app servers, starting with the sixth app server (app servers 6-10).
pageLength
The number of databases to return in each list.
Example
xquery version "1.0-ml";
import module namespace pkg = "http://marklogic.com/manage/package"
at "/MarkLogic/manage/package/package.xqy";
pkg:get-server-list("mypackage")
(: Returns the names of the app servers that have configurations
in the package named, 'mypackage'.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.