BackupInfo Constructor (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.

命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

语法

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

参数

  • file
  • allowOverwrite
    true if overwrite is allowed; otherwise, false.
  • backupRemotePartitions
    true if backup of remote partitions is allowed; otherwise, false.
  • locations
    The locations for all remote partitions.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

BackupInfo Class
BackupInfo Members
Microsoft.AnalysisServices Namespace