共用方式為


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)