Restore Process Control Constants (SQLDMO_RESTORE_TYPE)

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

Restore process control constants set the Action property of a Restore object and define, at the highest level, the target of the operation performed by the SQLRestore or SQLVerify method.

Constant

Value

Description

SQLDMORestore_Database

0

Restores the database.

SQLDMORestore_Files

1

Restores only the files indicated.

SQLDMORestore_Log

2

Restores records to the database transaction log.