BackupInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BackupInfo() |
Initializes a new instance of the BackupInfo class using the default values. |
BackupInfo(String) |
Initializes a new instance of the BackupInfo class using the file name to backup to. |
BackupInfo(String, Boolean) |
Initializes a new instance of the BackupInfo class using a file name, and indicates whether overwrite information is allowed. |
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. |
BackupInfo(String, Boolean, Boolean, 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. |
BackupInfo(String, Boolean, Boolean, BackupLocation[], Boolean) |
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, and indicates whether compression is applied. |
BackupInfo(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. |
BackupInfo()
Initializes a new instance of the BackupInfo class using the default values.
public BackupInfo ();
Public Sub New ()
Applies to
BackupInfo(String)
Initializes a new instance of the BackupInfo class using the file name to backup to.
public BackupInfo (string file);
new Microsoft.AnalysisServices.BackupInfo : string -> Microsoft.AnalysisServices.BackupInfo
Public Sub New (file As String)
Parameters
- file
- String
The name of the file to backup to.
Applies to
BackupInfo(String, Boolean)
Initializes a new instance of the BackupInfo class using a file name, and indicates whether overwrite information is allowed.
public BackupInfo (string file, bool allowOverwrite);
new Microsoft.AnalysisServices.BackupInfo : string * bool -> Microsoft.AnalysisServices.BackupInfo
Public Sub New (file As String, allowOverwrite As Boolean)
Parameters
- file
- String
The file name to backup to.
- allowOverwrite
- Boolean
true if overwrite is allowed; otherwise, false.
Applies to
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.
public BackupInfo (string file, bool allowOverwrite, bool backupRemotePartitions);
new Microsoft.AnalysisServices.BackupInfo : string * bool * bool -> Microsoft.AnalysisServices.BackupInfo
Public Sub New (file As String, allowOverwrite As Boolean, backupRemotePartitions As Boolean)
Parameters
- file
- String
The file name to backup to.
- allowOverwrite
- Boolean
true if overwrite is allowed; otherwise, false.
- backupRemotePartitions
- Boolean
true if backup of remote partitions is allowed; otherwise, false.
Applies to
BackupInfo(String, Boolean, Boolean, 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.
public BackupInfo (string file, bool allowOverwrite, bool backupRemotePartitions, Microsoft.AnalysisServices.BackupLocation[] locations);
new Microsoft.AnalysisServices.BackupInfo : string * bool * bool * Microsoft.AnalysisServices.BackupLocation[] -> Microsoft.AnalysisServices.BackupInfo
Public Sub New (file As String, allowOverwrite As Boolean, backupRemotePartitions As Boolean, locations As BackupLocation())
Parameters
- file
- String
The file name to backup to.
- allowOverwrite
- Boolean
true if overwrite is allowed; otherwise, false.
- backupRemotePartitions
- Boolean
true if backup of remote partitions is allowed; otherwise, false.
- locations
- BackupLocation[]
The locations where the backup will be stored.
Applies to
BackupInfo(String, Boolean, Boolean, BackupLocation[], Boolean)
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, and indicates whether compression is applied.
public BackupInfo (string file, bool allowOverwrite, bool backupRemotePartitions, Microsoft.AnalysisServices.BackupLocation[] locations, bool applyCompression);
new Microsoft.AnalysisServices.BackupInfo : string * bool * bool * Microsoft.AnalysisServices.BackupLocation[] * bool -> Microsoft.AnalysisServices.BackupInfo
Public Sub New (file As String, allowOverwrite As Boolean, backupRemotePartitions As Boolean, locations As BackupLocation(), applyCompression As Boolean)
Parameters
- file
- String
The file name to backup to.
- allowOverwrite
- Boolean
true if overwrite is allowed; otherwise, false.
- backupRemotePartitions
- Boolean
true if backup of remote partitions is allowed; otherwise, false.
- locations
- BackupLocation[]
The locations where the backup will be stored.
- applyCompression
- Boolean
true if compression is applied during the backup process; otherwise, false.
Applies to
BackupInfo(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.
public BackupInfo (string file, bool allowOverwrite, bool backupRemotePartitions, Microsoft.AnalysisServices.BackupLocation[] locations, bool applyCompression, string password);
new Microsoft.AnalysisServices.BackupInfo : string * bool * bool * Microsoft.AnalysisServices.BackupLocation[] * bool * string -> Microsoft.AnalysisServices.BackupInfo
Public Sub New (file As String, allowOverwrite As Boolean, backupRemotePartitions As Boolean, locations As BackupLocation(), applyCompression As Boolean, password As String)
Parameters
- file
- String
The file name to backup to.
- allowOverwrite
- Boolean
true if overwrite is allowed; otherwise, false.
- backupRemotePartitions
- Boolean
true if backup of remote partitions is allowed; otherwise, false.
- locations
- BackupLocation[]
The locations where the backup will be stored.
- applyCompression
- Boolean
true if compression is applied during the backup process; otherwise, false.
- password
- String
A String containing the password.