pkg:remove-server( $pkgname as xs:string, $group as xs:string, $server as xs:string ) as empty-sequence()
[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:remove-server("mypackage", "Default", "dashml") (: Removes the configuration of the 'dashml' app server located in the 'Default' group from the package named, 'mypackage'. :)