Backup.Mirrors 属性

Gets or sets the list of backup devices used by the mirrored backup.

此 API 不符合 CLS。 

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)

语法

声明
<CLSCompliantAttribute(False)> _
Public Property Mirrors As BackupDeviceList()
    Get 
    Set
用法
Dim instance As Backup 
Dim value As BackupDeviceList()

value = instance.Mirrors

instance.Mirrors = value
[CLSCompliantAttribute(false)]
public BackupDeviceList[] Mirrors { get; set; }
[CLSCompliantAttribute(false)]
public:
property array<BackupDeviceList^>^ Mirrors {
    array<BackupDeviceList^>^ get ();
    void set (array<BackupDeviceList^>^ value);
}
[<CLSCompliantAttribute(false)>]
member Mirrors : BackupDeviceList[] with get, set
function get Mirrors () : BackupDeviceList[]
function set Mirrors (value : BackupDeviceList[])

属性值

类型:array<Microsoft.SqlServer.Management.Smo.BackupDeviceList[]
An array of BackupDeviceList objects that specifies the backup devices used by the mirrored backup.

注释

This property is only required when performing a backup with a mirrored media set.

示例

备份和还原数据库和事务日志

请参阅

参考

Backup 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

BACKUP (Transact-SQL)

镜像备份介质集 (SQL Server)