Compartilhar via


Membros RestoreInfo

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

O tipo RestoreInfo expõe os seguintes membros.

Construtores

  Nome Descrição
Método público RestoreInfo() () () () Initializes a new instance of RestoreInfo using the default values.
Método público RestoreInfo(String) Initializes a new instance of RestoreInfo using file parameter.
Método público RestoreInfo(String, String) Initializes a new instance of RestoreInfo using a file and database name.
Método público RestoreInfo(String, String, Boolean) Initializes a new instance of RestoreInfo using a file, database name, and overwrite indicator.
Método público 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.
Método público 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.
Método público RestoreInfo(String, String, Boolean, array<RestoreLocation> [] () [] [], RestoreSecurity, String) Initializes a new instance of RestoreInfo using multiple parameters, including password.
Método público RestoreInfo(String, String, Boolean, array<RestoreLocation> [] () [] [], RestoreSecurity, String, String)

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Propriedades

  Nome Descrição
Propriedade pública AllowOverwrite Gets or sets the AllowOverwrite aspect of RestoreInfo.
Propriedade pública DatabaseName Gets or sets the DatabaseName aspect for a RestoreInfo object.
Propriedade pública DbStorageLocation
Propriedade pública File Gets or sets the UNC name of the File to restore.
Propriedade pública Locations Gets a RestoreLocationCollection object with the locations of the remote partitions to restore.
Propriedade pública Password Gets or sets the Password that is required to read the restore file.
Propriedade pública Security Gets or sets the Security definition to apply to roles from the restore file.

Início