[This function is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Use Volume Shadow Copy Service (VSS) instead.]
The DsRestoreEnd function is called to terminate a restore operation.
Syntax
HRESULT DsRestoreEnd(
_In_ HBC hbc
);
Parameters
hbc [in]
Contains the restoration context handle obtained with the DsRestorePrepare function.
Return value
Returns S_OK if the function is successful or a Win32 or RPC error code otherwise. The following list lists possible error codes.
ERROR_INVALID_PARAMETER
hbc is not valid.
Remarks
The DsRestoreEnd function closes outstanding binding handles and performs a cleanup operation after a restore attempt.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | None supported |
| End of client support | None supported |
| End of server support | None supported |
| Header | Ntdsbcli.h |
| Library | Ntdsbcli.lib |
| DLL | Ntdsbcli.dll |
See also
Restoring an Active Directory Server
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
