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. |
頂端
.gif)
.gif)
.gif)