Platform SDK: Active Directory, ADSI, and Directory Services

DsBackupEnd

The DsBackupEnd function cleans up after a backup operation is finished.

HRESULT DsBackupEnd(
  HBC hbc
);

Parameters

hbc
[in] Points to the client context handle of the backup.

Return Values

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

Remarks

The DsBackupEnd function closes outstanding binding handles and does whatever is necessary to clean up after a successful or unsuccessful backup 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, DsRestoreEnd