5.126 MasterReplicaExists

 procedure MasterReplicaExists(nc : DSName) : boolean

The MasterReplicaExists procedure returns true only if the NC replica with root nc is a writable NC replica.

  
 If not ObjExists(nc) then
   return false
 endif
 return nc in DSAObj()!msDS-hasMasterNCs
Show: