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

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Header: Declared in Ntdsbcli.h.
Library: Use Ntdsbcli.lib.

See Also

Restoring Active Directory, Directory Backup Functions, DsRestoreGetDatabaseLocations, DsRestorePrepare, DsRestoreRegister, DsRestoreRegisterComplete