ExecuteKCC method of the MSAD_DomainController class

Calls the DsReplicaConsistencyCheck function, which invokes the Knowledge Consistency Checker (KCC) to verify the replication topology.

Syntax

void ExecuteKCC(
  [in] uint32 TaskID,
  [in] uint32 dwFlags
);

Parameters

TaskID [in]

The task that the KCC should execute. DS_KCC_TASKID_UPDATE_TOPOLOGY is the only value that is currently supported.

dwFlags [in]

A set of flags that modify the behavior of the ExecuteKCC method. This parameter can be zero or a combination of one or more of the following values.

DS_KCC_FLAG_ASYNC_OP

The task is queued and then the function returns without waiting for the task to complete.

DS_KCC_FLAG_DAMPED

The task will not be added to the queue if another queued task will run soon.

Return value

This method does not return a value.

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\MicrosoftActiveDirectory
MOF
Replprov.mof
DLL
Replprov.dll

See also

MSAD_DomainController