The HrRestorePrepare function connects to a remote Microsoft Exchange Server database and prepares it for restore.
Header file: | EDBBCLI.H |
Library: | EDBBCLI.LIB |
Unicode: | Yes |
HRESULT HrRestorePrepare(
LPTSTR szServerName,
LPTSTR szServiceAnnotation,
HBC * phbcRestoreContext
);
Note The server name cannot contain an underscore.
See Return Values.
The HrRestorePrepare function requires that the caller is a member of the Administrators group on the server.
For more information on this function, see Backing Up and Restoring Data.