Partilhar via


Server.BackupDevices Property

Represents a collection of BackupDevice objects. Each BackupDevice object represents a backup device defined on the instance of Microsoft SQL Server.

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

Syntax

'Declaration
Public ReadOnly Property BackupDevices As BackupDeviceCollection
public BackupDeviceCollection BackupDevices { get; }
public:
property BackupDeviceCollection^ BackupDevices {
    BackupDeviceCollection^ get ();
}
/** @property */
public BackupDeviceCollection get_BackupDevices ()
public function get BackupDevices () : BackupDeviceCollection

Property Value

A BackupDeviceCollection object that represents all the backup devices defined on the instance of SQL Server.

Remarks

Updated text:

A tape drive or disk drive that is used in a backup or restore operation is referred to as a backup device. When you create backups, you must select a backup device to write the data on. For more information, see Backup Devices.

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

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

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

Other Resources

How to: Reference an Object by Using a Collection in Visual Basic .NET
Using Collections
Backing Up and Restoring Databases and Transaction Logs
Managing Servers

Change History

Release

History

New content:
  • Added to the description in the Remarks section.