Changes the state of the partition so all servers holding a replica will send entire partition information to the specified partition.
#include <nwnet.h>
or
#include <nwdspart.h>
N_EXTERN_LIBRARY (NWDSCCODE) NWDSPartitionReceiveAllUpdates (
NWDSContextHandle context,
pnstr8 partitionRoot,
pnstr8 serverName);
uses netwin32
Function NWDSPartitionReceiveAllUpdates
(context : NWDSContextHandle;
partitionRoot : pnstr8;
serverName : pnstr8
) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Points to the name root object name for the partition.
(IN) Points to the server name where the partition is located.
|
0x0000 0000 |
SUCCESSFUL |
|
nonzero value |
Nonzero values indicate errors. See |
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.