BackupInfo コンストラクター (String, Boolean, Boolean, array<BackupLocation , Boolean, String)

ファイル名を使用して BackupInfo クラスの新しいインスタンスを初期化し、リモート パーティションの上書きとバックアップを許可するかどうかを示します。さらに、バックアップの格納先を指定し、圧縮が適用されるかどうかを示し、パスワードを指定します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Public Sub New ( _
    file As String, _
    allowOverwrite As Boolean, _
    backupRemotePartitions As Boolean, _
    locations As BackupLocation(), _
    applyCompression As Boolean, _
    password As String _
)
'使用
Dim file As String 
Dim allowOverwrite As Boolean 
Dim backupRemotePartitions As Boolean 
Dim locations As BackupLocation()
Dim applyCompression As Boolean 
Dim password As String 

Dim instance As New BackupInfo(file, allowOverwrite, _
    backupRemotePartitions, locations, _
    applyCompression, password)
public BackupInfo(
    string file,
    bool allowOverwrite,
    bool backupRemotePartitions,
    BackupLocation[] locations,
    bool applyCompression,
    string password
)
public:
BackupInfo(
    String^ file, 
    bool allowOverwrite, 
    bool backupRemotePartitions, 
    array<BackupLocation^>^ locations, 
    bool applyCompression, 
    String^ password
)
new : 
        file:string * 
        allowOverwrite:bool * 
        backupRemotePartitions:bool * 
        locations:BackupLocation[] * 
        applyCompression:bool * 
        password:string -> BackupInfo
public function BackupInfo(
    file : String, 
    allowOverwrite : boolean, 
    backupRemotePartitions : boolean, 
    locations : BackupLocation[], 
    applyCompression : boolean, 
    password : String
)

パラメーター

  • file
    型: System.String
    バックアップ先のファイルの名前です。
  • allowOverwrite
    型: System.Boolean
    上書きが有効な場合は true、無効な場合は false です。
  • backupRemotePartitions
    型: System.Boolean
    リモート パーティションのバックアップが有効な場合は true、無効な場合は false です。
  • applyCompression
    型: System.Boolean
    バックアップ中に圧縮が適用される場合は true、適用されない場合は false です。
  • password
    型: System.String
    パスワードを表す String です。

関連項目

参照

BackupInfo クラス

BackupInfo オーバーロード

Microsoft.AnalysisServices 名前空間