HrRestoreRegisterComplete

The HrRestoreRegisterComplete function completes a restore operation, allowing subsequent restore operations.

Quick Info

Header file: EDBBCLI.H
Library: EDBBCLI.LIB

HRESULT HrRestoreRegisterComplete(
  HBC hbcRestoreContext,  
  HRESULT hrRestoreState  
);
 

Parameters

hbcRestoreContext
Input parameter. The client-side context handle of the restore.
hrRestoreState
Output parameter. Whether the restored database can be restarted
hrNone
The service can restart.

Otherwise, the service can not restart.

Return Values

See Return Values.

Remarks

HrRestoreRegisterComplete allows the restore target to start if hrRestoreState is hrNone. Otherwise, HrRestoreRegisterComplete prevents the restore target from restarting.

For more information on this function, see Backing Up and Restoring Data.

See Also

HrRestoreRegister