MarkLogic 9 Product Documentation
flexrep:get-target-name

flexrep:get-target-name(
   $domain-id as xs:unsignedLong,
   $target-id as xs:unsignedLong
) as xs:string?

Summary

Get a target's name, or nothing if the domain or target does not exist.

Parameters
domain-id The domain ID.
target-id The target ID.

Example


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

flexrep:get-target-name($domain-id, $target-id)
    

Required Privileges

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

Powered by MarkLogic Server | Terms of Use | Privacy Policy