Partager via


Membres RestoreInfo

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

Le type RestoreInfo expose les membres suivants.

Constructeurs

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

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (Hérité de Object.)
Méthode protégée Finalize (Hérité de Object.)
Méthode publique GetHashCode (Hérité de Object.)
Méthode publique GetType (Hérité de Object.)
Méthode protégée MemberwiseClone (Hérité de Object.)
Méthode publique ToString (Hérité de Object.)

Haut de la page

Propriétés

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

Haut de la page