Compartir a través de


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

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public Sub New ( _
    file As String, _
    allowOverwrite As Boolean, _
    backupRemotePartitions As Boolean, _
    locations As BackupLocation() _
)
'Uso
Dim file As String 
Dim allowOverwrite As Boolean 
Dim backupRemotePartitions As Boolean 
Dim locations As BackupLocation()

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

Parámetros

  • allowOverwrite
    Tipo: System.Boolean
    true if overwrite is allowed; otherwise, false.
  • backupRemotePartitions
    Tipo: System.Boolean
    true if backup of remote partitions is allowed; otherwise, false.

Vea también

Referencia

BackupInfo Clase

Sobrecarga de BackupInfo

Espacio de nombres Microsoft.AnalysisServices