Share via


BackupInfo 类

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.

继承层次结构

System. . :: . .Object
  Microsoft.AnalysisServices..::..BackupInfo

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
<GuidAttribute("27116194-AD33-468A-95CC-66AA2175DE5F")> _
Public NotInheritable Class BackupInfo
用法
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

BackupInfo 类型公开以下成员。

构造函数

  名称 说明
公共方法 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, 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.
公共方法 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.
公共方法 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.

页首

属性

  名称 说明
公共属性 AllowOverwrite Gets or sets the property indicating whether the destination files can be overwritten during backup.
公共属性 ApplyCompression Gets or sets property that indicates whether the backup will be compressed or not.
公共属性 BackupRemotePartitions Gets or sets property that indicates whether remote partitions will be backed up or not.
公共属性 File Gets or sets the name of the file to back up to.
公共属性 Locations Gets or sets the locations where the backup will be stored.
公共属性 Password Gets or sets the password to be used with backup file encryption.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。