NWDSPartitionReceiveAllUpdates

Changes the state of the partition so all servers holding a replica will send entire partition information to the specified partition.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98, Windows 2000, Windows XP
Library:Cross-Platform NDS (NET*.*)
Service:NDS

Syntax

C

  #include <nwnet.h> 
  or 
  #include <nwdspart.h> 
   
  N_EXTERN_LIBRARY (NWDSCCODE)  NWDSPartitionReceiveAllUpdates  ( 
     NWDSContextHandle   context,  
     pnstr8              partitionRoot,  
     pnstr8              serverName); 
  

Pascal

  uses netwin32 
   
  Function NWDSPartitionReceiveAllUpdates 
    (context : NWDSContextHandle; 
     partitionRoot : pnstr8; 
     serverName : pnstr8 
  ) : NWDSCCODE;
  

Parameters

context

(IN) Specifies the NDS context for the request.

partitionRoot

(IN) Points to the name root object name for the partition.

serverName

(IN) Points to the server name where the partition is located.

Return Values

0x0000 0000

SUCCESSFUL

nonzero value

Nonzero values indicate errors. See NDS Return Values (–001 to –799).

Remarks

NWDSPartitionReceiveAllUpdates changes the state of the specified partition to that of a new partition. This results in all servers holding a replica of this partition sending their entire partition information, not just changes, to the partition on the target server.

This function replaces a replica on the specified server when that replica's time stamps are incorrect. For example, an operation to repair a local database may not finish correctly and leave the replica in an unknown state. Use this function to remedy such a problem.

NCP Calls

See Also

NWDSPartitionSendAllUpdates