The DsReplicaConsistencyCheck function invokes the Knowledge Consistency Checker (KCC) to verify the replication topology. The KCC dynamically adjusts the data replication topology of your network when domain controllers are added to or removed from the network, when a domain controller is unavailable, or when the data replication schedules are changed.
NTDSAPI DWORD DsReplicaConsistencyCheck( HANDLE hDS, DS_KCC_TASKID TaskID, DWORD dwFlags );
Identifies the task that the KCC should execute. DS_KCC_TASKID_UPDATE_TOPOLOGY is the only currently supported value.
Contains a set of flags that modify the function behavior. This can be zero or a combination of one or more of the following values.
The task is queued and then the function returns without waiting for the task to complete.
The task will not be added to the queue if another queued task will run soon.
If the function performs its operation successfully, the return value is ERROR_SUCCESS. If the function fails, the return value can be one of the following.
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|