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 sealed 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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。