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.
Return value
Returns ERROR_SUCCESS if successful or a Win32 error otherwise. Possible error values include the following.
- 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 2008 |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
DsReplicaVerifyObjectsW (Unicode) and DsReplicaVerifyObjectsA (ANSI) |
See also