BackupDeviceList Class

The BackupDeviceList object provides programmatic access to a list backup devices. This class is not CLS-compliant.

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Class BackupDeviceList
    Inherits List(Of BackupDeviceItem)
[CLSCompliantAttribute(false)] 
public class BackupDeviceList : List<BackupDeviceItem>
[CLSCompliantAttribute(false)] 
public ref class BackupDeviceList : public List<BackupDeviceItem^>
/** @attribute CLSCompliantAttribute(false) */ 
public class BackupDeviceList extends List<BackupDeviceItem>
CLSCompliantAttribute(false) 
public class BackupDeviceList extends List<BackupDeviceItem>

Remarks

Updated text:

With the BackupDeviceList object, you can do the following:

  • Perform a backup to the specified list of devices.

  • Add backup devices to the list.

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

Inheritance Hierarchy

System.Object
   System.Collections.Generic.List
    Microsoft.SqlServer.Management.Smo.BackupDeviceList

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

BackupDeviceList Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

BACKUP (Transact-SQL)
Backing Up and Restoring Databases in SQL Server

Change History

Release

History

New content:
  • Added the BackupDeviceList class to the Microsoft.SqlServer.Management.Smo namespace.

  • Added the BackupDeviceList constructor to the BackupDeviceList class.

  • Added the AddDevice method to the BackupDeviceList class.