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.

네임스페이스:  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
)

매개 변수

  • allowOverwrite
    유형: System.Boolean
    true if overwrite is allowed; otherwise, false.
  • backupRemotePartitions
    유형: System.Boolean
    true if backup of remote partitions is allowed; otherwise, false.
  • applyCompression
    유형: System.Boolean
    true if compression is applied during the backup process; otherwise, false.
  • password
    유형: System.String
    A String containing the password.

참고 항목

참조

BackupInfo 클래스

BackupInfo 오버로드

Microsoft.AnalysisServices 네임스페이스