Share via


BackupInfo Constructor (String, Boolean)

Initializes a new instance of the BackupInfo class using a file name, and indicates whether overwrite information is allowed.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub New ( _
    file As String, _
    allowOverwrite As Boolean _
)
'Usage
Dim file As String
Dim allowOverwrite As Boolean

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

Parameters

  • allowOverwrite
    Type: System.Boolean
    true if overwrite is allowed; otherwise, false.