Share via


RestoreInfo Class

Definition

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

[System.Runtime.InteropServices.Guid("F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")]
public sealed class RestoreInfo
[<System.Runtime.InteropServices.Guid("F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")>]
type RestoreInfo = class
Public NotInheritable Class RestoreInfo
Inheritance
RestoreInfo
Attributes

Constructors

RestoreInfo()

Initializes a new instance of RestoreInfo using the default values.

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String, ReadWriteMode, Boolean)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, a security definition for the roles to be restored, password, the database storage location, the read/write mode of the database and incompatibilities indicator.

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String, ReadWriteMode)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, a security definition for the roles to be restored, password, the database storage location, and the read/write mode of the database.

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String, String)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, a security definition for the roles to be restored, password, and the database storage location.

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity, String)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, a security definition for the roles to be restored, and password.

RestoreInfo(String, String, Boolean, RestoreLocation[], RestoreSecurity)

Initializes a new instance of RestoreInfo using the file to restore, database name , overwrite indicator, an array of restore locations, and a security definition for the roles to be restored.

RestoreInfo(String, String, Boolean, RestoreLocation[])

Initializes a new instance of RestoreInfo using the file to restore, database name, overwrite indicator, and an array of restore locations.

RestoreInfo(String, String, Boolean)

Initializes a new instance of RestoreInfo using the file to restore, database name, and overwrite indicator.

RestoreInfo(String, String)

Initializes a new instance of RestoreInfo using the file to restore and database name.

RestoreInfo(String)

Initializes a new instance of RestoreInfo using the file to restore.

Properties

AllowOverwrite

Gets or sets the AllowOverwrite aspect of RestoreInfo.

DatabaseName

Gets or sets the DatabaseName aspect for a RestoreInfo object.

DatabaseReadWriteMode

Gets or sets the database read/write mode of an Analysis Services database as specified in a RestoreInfo object.

DbStorageLocation

Gets or sets the database storage location.

File

Gets or sets the UNC name of the File to restore.

ForceRestore

Gets or sets an indication whether to force the restore operation even in severe cases, like when there is low memory.

IgnoreIncompatibilities

Gets or sets a flag indicating whether model incompatibilities should be ignored during restore.

Locations

Gets a RestoreLocationCollection object with the locations of the remote partitions to restore.

Password

Gets or sets the Password that is required to read the restore file.

Security

Gets or sets the Security definition to apply to roles from the restore file.

Applies to