Restore Methods
SQL Server 2012
The Restore type exposes the following members.
| Name | Description | |
|---|---|---|
|
Abort | Terminates a running backup or restore operation. (Inherited from BackupRestoreBase.) |
|
ClearSuspectPageTable | Deletes entries in the suspect page table. |
|
Equals | (Inherited from Object.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
ReadBackupHeader | Reads the backup header and returns information about the media contents. |
|
ReadFileList | Returns the list of database files on the targeted media. |
|
ReadMediaHeader | Reads the media header and returns the media header values. |
|
ReadSuspectPageTable | Returns the suspect page table for the targeted instance of SQL Server. |
|
Script | Generates a Transact-SQL script that can be used to re-create the restore operation. |
|
SetMediaPassword(SecureString) | Obsolete. Sets the password for a media set. (Inherited from BackupRestoreBase.) |
|
SetMediaPassword(String) | Obsolete. Sets the password for a media set. (Inherited from BackupRestoreBase.) |
|
SetPassword(SecureString) | Sets the password for a backup set. (Inherited from BackupRestoreBase.) |
|
SetPassword(String) | Sets the password for a backup set. (Inherited from BackupRestoreBase.) |
|
SqlRestore | Performs a restore operation on the specified server. |
|
SqlRestoreAsync | Performs a restore operation asynchronously. |
|
SqlVerify(Server) | Checks the media on the instance of SQL Server that is represented by the specified Server object. |
|
SqlVerify(Server, Boolean) | Checks the media on instance of SQL Server that is represented by the specified Server object and loads backup history information into the history tables. |
|
SqlVerify(Server, String) | Checks the media on the instance of SQL Server that is represented by the specified Server object and returns an error message. |
|
SqlVerify(Server, Boolean, String) | Checks the media on the instance of SQL Server that is represented by the specified Server object, loads backup history information into the history tables, and returns an error message. |
|
SqlVerifyAsync(Server) | Checks the media on the instance of SQL Server that is represented by the specified Server object asynchronously. |
|
SqlVerifyAsync(Server, Boolean) | Checks the media on the instance of SQL Server that is represented by the specified Server object asynchronously and loads backup history information into the history tables. |
|
SqlVerifyLatest(Server) | Verifies the most recent backup but does not restore it, and checks to see that the backup set is complete and the entire backup is readable. |
|
SqlVerifyLatest(Server, SqlVerifyAction) | Verifies the most recent backup with the specified action, and checks to see that the backup set is complete and the entire backup is readable. |
|
SqlVerifyLatest(Server, String) | Verifies the most recent backup but does not restore it, checks to see that the backup set is complete and the entire backup is readable, and returns an error message. |
|
SqlVerifyLatest(Server, SqlVerifyAction, String) | Verifies the most recent backup with the specified action, checks to see that the backup set is complete and the entire backup is readable, and returns an error message. |
|
ToString | (Inherited from Object.) |
|
Wait | Waits for the current backup or restore operation to complete before moving on to the next process. (Inherited from BackupRestoreBase.) |