BackupInfo Constructor (String, Boolean, Boolean, 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.

命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

語法

'宣告
Public Sub New ( _
    file As String, _
    allowOverwrite As Boolean, _
    backupRemotePartitions As Boolean, _
    locations As BackupLocation(), _
    applyCompression As Boolean _
)
public BackupInfo (
    string file,
    bool allowOverwrite,
    bool backupRemotePartitions,
    BackupLocation[] locations,
    bool applyCompression
)
public:
BackupInfo (
    String^ file, 
    bool allowOverwrite, 
    bool backupRemotePartitions, 
    array<BackupLocation^>^ locations, 
    bool applyCompression
)
public BackupInfo (
    String file, 
    boolean allowOverwrite, 
    boolean backupRemotePartitions, 
    BackupLocation[] locations, 
    boolean applyCompression
)
public function BackupInfo (
    file : String, 
    allowOverwrite : boolean, 
    backupRemotePartitions : boolean, 
    locations : BackupLocation[], 
    applyCompression : boolean
)

參數

  • file
  • allowOverwrite
    true if overwrite is allowed; otherwise, false.
  • backupRemotePartitions
    true if backup of remote partitions is allowed; otherwise, false.
  • locations
    The locations where the backup will be stored.
  • applyCompression
    true if compression is applied during the backup process; otherwise, false.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

BackupInfo Class
BackupInfo Members
Microsoft.AnalysisServices Namespace