Backup.Mirrors Property
Gets or sets the list of backup devices used by the mirrored backup.
This API is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Property Mirrors As BackupDeviceList()
Get
Set
'Usage
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[])
Property Value
Type: array<Microsoft.SqlServer.Management.Smo.BackupDeviceList[]
An array of BackupDeviceList objects that specifies the backup devices used by the mirrored backup.
Remarks
This property is only required when performing a backup with a mirrored media set.
Examples
Backing Up and Restoring Databases and Transaction Logs
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace