MarkLogic 9 Product Documentation
flexrep:domain-target-statuses

flexrep:domain-target-statuses() as element(flexrep:domain-target-status)*

Summary

This function returns the status for each domain target.

Example

  xquery version "1.0-ml"; 

  import module namespace flexrep = "http://marklogic.com/xdmp/flexible-replication" 
      at "/MarkLogic/flexrep.xqy";

  flexrep:domain-target-statuses()

  (: Returns the status for the targets in each domain configured for the database. :)
     

Required Privileges

http://marklogic.com/xdmp/privileges/flexrep-user

Powered by MarkLogic Server | Terms of Use | Privacy Policy