Loading TOC...

MarkLogic 9 Product Documentation
admin.clusterGetForeignClusterIds

admin.clusterGetForeignClusterIds(
   config as element(configuration)
) as Sequence

Summary

This function returns the ids of the foreign clusters.

Parameters
config A configuration specification, typically as returned from one of the Admin module functions.

Example

  
  const admin = require('/MarkLogic/admin.xqy');
  var cfg = admin.getConfiguration()
  admin.clusterGetForeignClusterIds(cfg)

   //Returns the ids of the foreign clusters. 
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.