BackupInfo Class

 

Applies To: SQL Server (starting with 2016)

Stores the information necessary to back up an Analysis Services database to a backup file. This class cannot be inherited.

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

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.BackupInfo

Syntax

[GuidAttribute("27116194-AD33-468A-95CC-66AA2175DE5F")]
public sealed class BackupInfo
[GuidAttribute("27116194-AD33-468A-95CC-66AA2175DE5F")]
public ref class BackupInfo sealed 
[<Sealed>]
[<GuidAttribute("27116194-AD33-468A-95CC-66AA2175DE5F")>]
type BackupInfo = class end
<GuidAttribute("27116194-AD33-468A-95CC-66AA2175DE5F")>
Public NotInheritable Class BackupInfo

Constructors

Name Description
System_CAPS_pubmethod BackupInfo()

Initializes a new instance of the BackupInfo class using the default values.

System_CAPS_pubmethod BackupInfo(String)

Initializes a new instance of the BackupInfo class using the file name to backup to.

System_CAPS_pubmethod BackupInfo(String, Boolean)

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

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

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

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

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

Properties

Name Description
System_CAPS_pubproperty AllowOverwrite

Gets or sets the property indicating whether the destination files can be overwritten during backup.

System_CAPS_pubproperty ApplyCompression

Gets or sets property that indicates whether the backup will be compressed or not.

System_CAPS_pubproperty BackupRemotePartitions

Gets or sets property that indicates whether remote partitions will be backed up or not.

System_CAPS_pubproperty File

Gets or sets the name of the file to back up to.

System_CAPS_pubproperty Locations

Gets or sets the locations where the backup will be stored.

System_CAPS_pubproperty Password

Gets or sets the password to be used with backup file encryption.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.AnalysisServices Namespace

Return to top