Export (0) Print
Expand All

DsReplicaVerifyObjects function

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

Syntax


DWORD WINAPI DsReplicaVerifyObjects(
  _In_  HANDLE hDS,
  _In_  LPCTSTR NameContext,
  _In_  const UUID *pUuidDsaSrc,
  _In_  ULONG ulOptions
);

Parameters

hDS [in]

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

NameContext [in]

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

pUuidDsaSrc [in]

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

ulOptions [in]

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

ValueMeaning
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.

Return codeDescription
ERROR_INVALID_PARAMETER

One or more parameters are invalid.

ERROR_NOT_SUPPORTED

The server does not support this operation.

ERROR_DS_DRA_BAD_NC

The naming context, identified by the NameContext parameter, is invalid.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Ntdsapi.h

Library

Ntdsapi.lib

DLL

Ntdsapi.dll

Unicode and ANSI names

DsReplicaVerifyObjectsW (Unicode) and DsReplicaVerifyObjectsA (ANSI)

See also

Domain Controller and Replication Management Functions
DsBind
DsBindWithCred
DsBindWithSpn

 

 

Show:
© 2014 Microsoft