DsRestoreEnd function

[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

DsRestorePrepare

Restoring an Active Directory Server

Directory Backup Functions