Platform SDK: Active Directory, ADSI, and Directory Services

DsRestoreEnd

The DsRestoreEnd function is called to end a restore session.

HRESULT DsRestoreEnd(
  HBC hbc
);

Parameters

hbc
[in] Client context handle of the restore.

Return Values

One of the standard HRESULT success codes; otherwise, a failure code.

Remarks

The DsRestoreEnd function closes outstanding binding handles and does whatever is necessary to clean up after a restore attempt.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Ntdsbcli.h.
  Library: Included as a resource in Ntdsbcli.dll.

See Also

Backing Up and Restoring Active Directory, Directory Backup Functions, DsRestorePrepare