RestoreInfo 类
Represents the information required to process a file or database restoration. This class cannot be inherited.
继承层次结构
System. . :: . .Object
Microsoft.AnalysisServices..::..RestoreInfo
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
<GuidAttribute("F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")> _
Public NotInheritable Class RestoreInfo
用法
Dim instance As RestoreInfo
[GuidAttribute("F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")]
public sealed class RestoreInfo
[GuidAttribute(L"F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")]
public ref class RestoreInfo sealed
[<SealedAttribute>]
[<GuidAttribute("F7F08C2C-3E0F-4B29-A1E2-B77E13DD6252")>]
type RestoreInfo = class end
public final class RestoreInfo
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) |
页首
属性
名称 | 说明 | |
---|---|---|
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. |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。