Share via


RestoreInfo Members

Include Protected Members
Include Inherited Members

Represents the information required to process a file or database restoration. This class cannot be inherited.

The RestoreInfo type exposes the following members.

Constructors

  Name Description
Public method RestoreInfo() Initializes a new instance of RestoreInfo using the default values.
Public method RestoreInfo(String) Initializes a new instance of RestoreInfo using file parameter.
Public method RestoreInfo(String, String) Initializes a new instance of RestoreInfo using a file and database name.
Public method RestoreInfo(String, String, Boolean) Initializes a new instance of RestoreInfo using a file, database name, and overwrite indicator.
Public method RestoreInfo(String, String, Boolean, array<RestoreLocation[]) Initializes a new instance of RestoreInfo using a file, database name, overwrite indicator, and an array of restore locations.
Public method RestoreInfo(String, String, Boolean, array<RestoreLocation[], RestoreSecurity) Initializes a new instance of RestoreInfo using a file, database name , overwrite indicator, an array of restore locations, and a security definition for the roles to be restored.
Public method RestoreInfo(String, String, Boolean, array<RestoreLocation[], RestoreSecurity, String) Initializes a new instance of RestoreInfo using multiple parameters, including password.
Public method RestoreInfo(String, String, Boolean, array<RestoreLocation[], RestoreSecurity, String, String)

Top

Methods

  Name Description
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetHashCode() (Inherited from Object.)
Public method GetType() (Inherited from Object.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property AllowOverwrite Gets or sets the AllowOverwrite aspect of RestoreInfo.
Public property DatabaseName Gets or sets the DatabaseName aspect for a RestoreInfo object.
Public property DbStorageLocation
Public property File Gets or sets the UNC name of the File to restore.
Public property Locations Gets a RestoreLocationCollection object with the locations of the remote partitions to restore.
Public property Password Gets or sets the Password that is required to read the restore file.
Public property Security Gets or sets the Security definition to apply to roles from the restore file.

Top