The HrBackupGetDatabaseNames function obtains the list of attached databases on the remote computer.
Header file: | EDBBCLI.H |
Library: | EDBBCLI.LIB |
Unicode: | Yes |
HRESULT HrBackupGetDatabaseNames(
HBC pvBackupContext,
LPSTR *ppszAttachmentInformation,
LPDWORD pcbSize
);
See Return Values.
The HrBackupGetDatabaseNames function allocates a buffer of sufficient size to hold the entire attachment list. These files need to be backed up for a full backup, but not for a differential or incremental backup. In addition, the files returned by HrBackupGetBackupLogs must be backed up for a full backup.
For more information on the HrBackupGetDataBaseNames function, see Backing Up and Restoring Data.