Share via


BackupInfo Constructor (String, Boolean, Boolean, BackupLocation[], Boolean, String)

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, indicates whether compression is applied, and specifies a password.

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

Syntax

'Declaration
Public Sub New ( _
    file As String, _
    allowOverwrite As Boolean, _
    backupRemotePartitions As Boolean, _
    locations As BackupLocation(), _
    applyCompression As Boolean, _
    password As String _
)
public BackupInfo (
    string file,
    bool allowOverwrite,
    bool backupRemotePartitions,
    BackupLocation[] locations,
    bool applyCompression,
    string password
)
public:
BackupInfo (
    String^ file, 
    bool allowOverwrite, 
    bool backupRemotePartitions, 
    array<BackupLocation^>^ locations, 
    bool applyCompression, 
    String^ password
)
public BackupInfo (
    String file, 
    boolean allowOverwrite, 
    boolean backupRemotePartitions, 
    BackupLocation[] locations, 
    boolean applyCompression, 
    String password
)
public function BackupInfo (
    file : String, 
    allowOverwrite : boolean, 
    backupRemotePartitions : boolean, 
    locations : BackupLocation[], 
    applyCompression : boolean, 
    password : String
)

Parameters

  • file
    The file name to backup to.
  • allowOverwrite
    true if overwrite is allowed; otherwise, false.
  • backupRemotePartitions
    true if backup of remote partitions is allowed; otherwise, false.
  • locations
    The locations where the backup will be stored.
  • applyCompression
    true if compression is applied during the backup process; otherwise, false.
  • password
    A String containing the password.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

BackupInfo Class
BackupInfo Members
Microsoft.AnalysisServices Namespace