Jaa


Backup.Mirrors Property

Gets or sets the list of backup devices used by the mirrored backup. This property is not CLS-compliant.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Property Mirrors As BackupDeviceList()
[CLSCompliantAttribute(false)] 
public BackupDeviceList[] Mirrors { get; set; }
[CLSCompliantAttribute(false)] 
public:
property array<BackupDeviceList^>^ Mirrors {
    array<BackupDeviceList^>^ get ();
    void set (array<BackupDeviceList^>^ value);
}
/** @property */
public BackupDeviceList[] get_Mirrors ()

/** @property */
public void set_Mirrors (BackupDeviceList[] value)
public function get Mirrors () : BackupDeviceList[]

public function set Mirrors (value : BackupDeviceList[])

Property Value

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.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Back Up Databases and Transaction Logs in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Backup Class
Backup Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Backing Up and Restoring Databases in SQL Server
BACKUP (Transact-SQL)
Using Mirrored Backup Media Sets