5.67 FullReplicaExists

 procedure FullReplicaExists(nc : DSName) : boolean

The FullReplicaExists procedure returns true if the NC replica with root nc is a full replica.

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