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.
Value Meaning - 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 code | Description |
|---|---|
|
One or more parameters are invalid. |
|
The server does not support this operation. |
|
The naming context, identified by the NameContext parameter, is invalid. |
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names | DsReplicaVerifyObjectsW (Unicode) and DsReplicaVerifyObjectsA (ANSI) |
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012