Partager via


Constructeur BackupInfo (String, Boolean, Boolean)

Initializes a new instance of the BackupInfo class using a file name, and indicates whether overwrite and backup of remote partitions are allowed.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    file As String, _
    allowOverwrite As Boolean, _
    backupRemotePartitions As Boolean _
)
'Utilisation
Dim file As String 
Dim allowOverwrite As Boolean 
Dim backupRemotePartitions As Boolean 

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

Paramètres

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

Voir aussi

Référence

BackupInfo Classe

Surcharge BackupInfo

Espace de noms Microsoft.AnalysisServices