Sdílet prostřednictvím


BackupInfo Class

Stores the information necessary to back up a Microsoft SQL Server 2005 Analysis Services (SSAS) database to a backup file. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.BackupInfo

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

Syntax

'Declaration
<GuidAttribute("27116194-AD33-468A-95CC-66AA2175DE5F")> _
Public NotInheritable Class BackupInfo
'Usage
Dim instance As BackupInfo
[GuidAttribute("27116194-AD33-468A-95CC-66AA2175DE5F")]
public sealed class BackupInfo
[GuidAttribute(L"27116194-AD33-468A-95CC-66AA2175DE5F")]
public ref class BackupInfo sealed
[<SealedAttribute>]
[<GuidAttribute("27116194-AD33-468A-95CC-66AA2175DE5F")>]
type BackupInfo =  class end
public final class BackupInfo

The BackupInfo type exposes the following members.

Constructors

  Name Description
Public method BackupInfo() Initializes a new instance of the BackupInfo class using the default values.
Public method BackupInfo(String) Initializes a new instance of the BackupInfo class using the file name to backup to.
Public method BackupInfo(String, Boolean) Initializes a new instance of the BackupInfo class using a file name, and indicates whether overwrite information is allowed.
Public method 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 method BackupInfo(String, Boolean, Boolean, array<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 method BackupInfo(String, Boolean, Boolean, array<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 method BackupInfo(String, Boolean, Boolean, array<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.

Top

Properties

  Name Description
Public property AllowOverwrite Gets or sets the property indicating whether the destination files can be overwritten during backup.
Public property ApplyCompression Gets or sets property that indicates whether the backup will be compressed or not.
Public property BackupRemotePartitions Gets or sets property that indicates whether remote partitions will be backed up or not.
Public property File Gets or sets the name of the file to back up to.
Public property Locations Gets or sets the locations where the backup will be stored.
Public property Password Gets or sets the password to be used with backup file encryption.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.AnalysisServices Namespace