Directory Services

DsBackupEnd

The DsBackupEnd function performs a cleanup 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.

Remarks

The DsBackupEnd function closes outstanding binding handles and does what is necessary to cleanup after a successful or unsuccessful backup 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

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