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) Initializes a new instance of RestoreInfo using multiple parameters, including password.

页首

属性

  名称 说明
公共属性 AllowOverwrite Gets or sets the AllowOverwrite aspect of RestoreInfo.
公共属性 DatabaseName Gets or sets the DatabaseName aspect for a RestoreInfo object.
公共属性 DbStorageLocation Gets or sets the database storage location.
公共属性 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 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.AnalysisServices 命名空间