Restore Process Control Constants (SQLDMO_RESTORE_TYPE)

SQL-DMO

SQL-DMO

Restore Process Control Constants (SQLDMO_RESTORE_TYPE)

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 Restore the database
SQLDMORestore_Files 1 Restore only files indicated
SQLDMORestore_Log 2 Restore records to the database transaction log