DsReplicaVerifyObjectsA function

The DsReplicaVerifyObjects function verifies all objects for a naming context with a source.

Syntax

NTDSAPI DWORD DsReplicaVerifyObjectsA(
  HANDLE     hDS,
  LPCSTR     NameContext,
  const UUID *pUuidDsaSrc,
  ULONG      ulOptions
);

Parameters

hDS

Contains a directory service handle obtained from either the DSBind, DSBindWithCred, or DsBindWithSpn function.

NameContext

Pointer to a null-terminated string that contains the distinguished name of the naming context.

pUuidDsaSrc

Pointer to a UUID value that contains the objectGuid of the directory system agent object.

ulOptions

Contains a set of flags that modify the behavior of the function. This can be zero or the following value.

DS_EXIST_ADVISORY_MODE

Do not delete objects in response to this function.

Return Value

Returns ERROR_SUCCESS if successful or a Win32 error otherwise. Possible error values include the following.

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header ntdsapi.h
Library Ntdsapi.lib
DLL Ntdsapi.dll

See Also

Domain Controller and Replication Management Functions

DsBind

DsBindWithCred

DsBindWithSpn