Share via


SQLRestore Method

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

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

구문

object
.SQLRestore(
SQLServer
)

Parts

  • object
    Expression that evaluates to an object in the Applies To list
  • SQLServer
    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);

주의

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.

Applies To:

Restore Object