Compartir a través de


RestoreInfo Miembros

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

El tipo RestoreInfo expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico RestoreInfo() () () () Initializes a new instance of RestoreInfo using the default values.
Método publico RestoreInfo(String) Initializes a new instance of RestoreInfo using file parameter.
Método publico RestoreInfo(String, String) Initializes a new instance of RestoreInfo using a file and database name.
Método publico RestoreInfo(String, String, Boolean) Initializes a new instance of RestoreInfo using a file, database name, and overwrite indicator.
Método publico 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 publico 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 publico RestoreInfo(String, String, Boolean, array<RestoreLocation> [] () [] [], RestoreSecurity, String) Initializes a new instance of RestoreInfo using multiple parameters, including password.
Método publico RestoreInfo(String, String, Boolean, array<RestoreLocation> [] () [] [], RestoreSecurity, String, String)

Principio

Métodos

  Nombre Descripción
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico GetHashCode (Se hereda de Object).
Método publico GetType (Se hereda de Object).
Método protegido MemberwiseClone (Se hereda de Object).
Método publico ToString (Se hereda de Object).

Principio

Propiedades

  Nombre Descripción
Propiedad pública AllowOverwrite Gets or sets the AllowOverwrite aspect of RestoreInfo.
Propiedad pública DatabaseName Gets or sets the DatabaseName aspect for a RestoreInfo object.
Propiedad pública DbStorageLocation
Propiedad pública File Gets or sets the UNC name of the File to restore.
Propiedad pública Locations Gets a RestoreLocationCollection object with the locations of the remote partitions to restore.
Propiedad pública Password Gets or sets the Password that is required to read the restore file.
Propiedad pública Security Gets or sets the Security definition to apply to roles from the restore file.

Principio