Export (0) Print
Expand All

Restore Methods

The Restore type exposes the following members.

  Name Description
Public method Abort Terminates a running backup or restore operation. (Inherited from BackupRestoreBase.)
Public method ClearSuspectPageTable Deletes entries in the suspect page table.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ReadBackupHeader Reads the backup header and returns information about the media contents.
Public method ReadFileList Returns the list of database files on the targeted media.
Public method ReadMediaHeader Reads the media header and returns the media header values.
Public method ReadSuspectPageTable Returns the suspect page table for the targeted instance of SQL Server.
Public method Script Generates a Transact-SQL script that can be used to re-create the restore operation.
Public method SetMediaPassword(SecureString) Obsolete. Sets the password for a media set. (Inherited from BackupRestoreBase.)
Public method SetMediaPassword(String) Obsolete. Sets the password for a media set. (Inherited from BackupRestoreBase.)
Public method SetPassword(SecureString) Sets the password for a backup set. (Inherited from BackupRestoreBase.)
Public method SetPassword(String) Sets the password for a backup set. (Inherited from BackupRestoreBase.)
Public method SqlRestore Performs a restore operation on the specified server.
Public method SqlRestoreAsync Performs a restore operation asynchronously.
Public method SqlVerify(Server) Checks the media on the instance of SQL Server that is represented by the specified Server object.
Public method 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.
Public method 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.
Public method 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.
Public method SqlVerifyAsync(Server) Checks the media on the instance of SQL Server that is represented by the specified Server object asynchronously.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method ToString (Inherited from Object.)
Public method Wait Waits for the current backup or restore operation to complete before moving on to the next process. (Inherited from BackupRestoreBase.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft