SQLRestore Method (SQL-DMO)

The SQLRestore method performs the database restore operation specified by the properties of the Restore object used.

Applies To

Restore Object

Syntax

object.SQLRestore( SQLServer )

Part Description
object Expression that evaluates to an object in the Applies To list
SQLServer SQLServer object connected to the Microsoft® SQL Server™ installation that is the target of the restore operation

Remarks

To perform a database restore operation by using 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.

Prototype (C/C++)

HRESULT SQLRestore(LPSQLDMOSERVER ServerObject);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.