Export (0) Print
Expand All
Expand Minimize

5.125 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:
© 2014 Microsoft