
pkg:get-server-list( $pkgname as xs:string, [$start as xs:unsignedLong], [$pageLength as xs:unsignedLong] ) as element(list:server-list)
[DEPRECATED: use cma:generate-config and
cma:apply-config instead.]
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.