共用方式為


BackupInfo 類別

Stores the information necessary to back up a Microsoft SQL Server 2005 Analysis Services (SSAS) database to a backup file. This class cannot be inherited.

繼承階層

System.Object
  Microsoft.AnalysisServices.BackupInfo

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
<GuidAttribute("27116194-AD33-468A-95CC-66AA2175DE5F")> _
Public NotInheritable Class BackupInfo
'用途
Dim instance As BackupInfo
[GuidAttribute("27116194-AD33-468A-95CC-66AA2175DE5F")]
public sealed class BackupInfo
[GuidAttribute(L"27116194-AD33-468A-95CC-66AA2175DE5F")]
public ref class BackupInfo sealed
[<SealedAttribute>]
[<GuidAttribute("27116194-AD33-468A-95CC-66AA2175DE5F")>]
type BackupInfo =  class end
public final class BackupInfo

BackupInfo 型別公開下列成員。

建構函式

  名稱 說明
公用方法 BackupInfo() Initializes a new instance of the BackupInfo class using the default values.
公用方法 BackupInfo(String) Initializes a new instance of the BackupInfo class using the file name to backup to.
公用方法 BackupInfo(String, Boolean) Initializes a new instance of the BackupInfo class using a file name, and indicates whether overwrite information is allowed.
公用方法 BackupInfo(String, Boolean, Boolean) Initializes a new instance of the BackupInfo class using a file name, and indicates whether overwrite and backup of remote partitions are allowed.
公用方法 BackupInfo(String, Boolean, Boolean, array<BackupLocation[]) Initializes a new instance of the BackupInfo class using a file name, indicates whether overwrite and backup of remote partitions are allowed, and specifies the locations for the backup to be stored.
公用方法 BackupInfo(String, Boolean, Boolean, array<BackupLocation[], Boolean) Initializes a new instance of the BackupInfo class using a file name, indicates whether overwrite and backup of remote partitions are allowed, specifies the location for the backup to be stored, and indicates whether compression is applied.
公用方法 BackupInfo(String, Boolean, Boolean, array<BackupLocation[], Boolean, String) Initializes a new instance of the BackupInfo class using a file name, indicates whether overwrite and backup of remote partitions are allowed, specifies the location for the backup to be stored, indicates whether compression is applied, and specifies a password.

上層

屬性

  名稱 說明
公用屬性 AllowOverwrite Gets or sets the property indicating whether the destination files can be overwritten during backup.
公用屬性 ApplyCompression Gets or sets property that indicates whether the backup will be compressed or not.
公用屬性 BackupRemotePartitions Gets or sets property that indicates whether remote partitions will be backed up or not.
公用屬性 File Gets or sets the name of the file to back up to.
公用屬性 Locations Gets or sets the locations where the backup will be stored.
公用屬性 Password Gets or sets the password to be used with backup file encryption.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.AnalysisServices 命名空間