Элементы RestoreInfo
Represents the information required to process a file or database restoration. This class cannot be inherited.
Тип RestoreInfo предоставляет доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
RestoreInfo() () () () | Initializes a new instance of RestoreInfo using the default values. | |
RestoreInfo(String) | Initializes a new instance of RestoreInfo using file parameter. | |
RestoreInfo(String, String) | Initializes a new instance of RestoreInfo using a file and database name. | |
RestoreInfo(String, String, Boolean) | Initializes a new instance of RestoreInfo using a file, database name, and overwrite indicator. | |
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. | |
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. | |
RestoreInfo(String, String, Boolean, array<RestoreLocation> [] () [] [], RestoreSecurity, String) | Initializes a new instance of RestoreInfo using multiple parameters, including password. | |
RestoreInfo(String, String, Boolean, array<RestoreLocation> [] () [] [], RestoreSecurity, String, String) |
В начало
Методы
Имя | Описание | |
---|---|---|
Equals | (Наследуется из Object.) | |
Finalize | (Наследуется из Object.) | |
GetHashCode | (Наследуется из Object.) | |
GetType | (Наследуется из Object.) | |
MemberwiseClone | (Наследуется из Object.) | |
ToString | (Наследуется из Object.) |
В начало
Свойства
Имя | Описание | |
---|---|---|
AllowOverwrite | Gets or sets the AllowOverwrite aspect of RestoreInfo. | |
DatabaseName | Gets or sets the DatabaseName aspect for a RestoreInfo object. | |
DbStorageLocation | ||
File | Gets or sets the UNC name of the File to 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. |
В начало