Поделиться через


Конструктор 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.

Пространство имен:  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 _
)
'Применение
Dim file As String 
Dim allowOverwrite As Boolean 
Dim backupRemotePartitions As Boolean 
Dim locations As BackupLocation()
Dim applyCompression As Boolean 

Dim instance As New BackupInfo(file, allowOverwrite, _
    backupRemotePartitions, locations, _
    applyCompression)
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
)
new : 
        file:string * 
        allowOverwrite:bool * 
        backupRemotePartitions:bool * 
        locations:BackupLocation[] * 
        applyCompression:bool -> BackupInfo
public function BackupInfo(
    file : String, 
    allowOverwrite : boolean, 
    backupRemotePartitions : boolean, 
    locations : BackupLocation[], 
    applyCompression : boolean
)

Параметры

  • 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.

См. также

Справочник

BackupInfo Класс

Перегрузка BackupInfo

Пространство имен Microsoft.AnalysisServices