HrRestoreGetDatabaseLocations

The HrRestoreGetDatabaseLocations function obtains the database locations for the server and service.

Quick Info

Header file: EDBBCLI.H
Library: EDBBCLI.LIB
Unicode: Yes

HRESULT HrRestoreGetDatabaseLocations(
  HBC hbcBackupContext,              
  LPSTR * ppszDatabaseLocationList,  
  LPDWORD pcbSize                    
);
 

Parameters

hbcBackupContext
Input parameter. The client-side context handle of the restore.
ppszDatabaseLocationList
Output parameter. The UNC paths of the database files.
List Element Directory Context IS Context
First System Database System Database
Second Log Location Log Location
Third Directory Database Private IS
Fourth None Public IS
pcbSize
Output parameter. The size of the list of database locations.

Return Values

See Return Values.

Remarks

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

See Also

HrRestorePrepare