BackupInfo Constructor (String, Boolean, Boolean)

 

Applies To: SQL Server (starting with 2016)

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

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

Syntax

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 Sub New (
    file As String,
    allowOverwrite As Boolean,
    backupRemotePartitions As Boolean
)

Parameters

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

See Also

BackupInfo Overload
BackupInfo Class
Microsoft.AnalysisServices Namespace

Return to top