SQLRestore Method
Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.
The SQLRestore method performs the database restore operation specified by the properties of the Restore object used.
Sintaxe
object
.SQLRestore(
SQLServer
)
Parts
object
Expression that evaluates to an object in the Applies To listSQLServer
SQLServer object connected to an instance of Microsoft SQL Server that is the target of the restore operation
Prototype (C/C++)
HRESULT SQLRestore(LPSQLDMOSERVER ServerObject);
Comentários
To perform a database restore operation using SQL Distributed Management Objects (SQL-DMO), the application specifies the operation process by setting Restore object properties, then calls the SQLRestore method. For more information about Restore object properties and their effects on the restore operation process, see Restore Object.