Load Method

SQLServer.Database Object

Description

Restores a database using an existing backup from a dump device. Set the properties of a created Backup object as desired and pass it to the Load method.

Visual Basic

Database.Load ( [LoadSpec :=] Backup )

C++

HRESULT pDatabase->Load ( LPSQLOLEBACKUP pBackup );

Elements

Element Type Description

Backup Backup Created Backup object that specifies how to execute database backup

Reference

LOAD DATABASE