مشاركة عبر


BackupDeviceList Class

The BackupDeviceList object provides programmatic access to a list backup devices.

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 Class BackupDeviceList _
    Inherits List(Of BackupDeviceItem)
'Usage
Dim instance As BackupDeviceList
[CLSCompliantAttribute(false)]
public class BackupDeviceList : List<BackupDeviceItem>
[CLSCompliantAttribute(false)]
public ref class BackupDeviceList : public List<BackupDeviceItem^>
[<CLSCompliantAttribute(false)>]
type BackupDeviceList =  
    class
        inherit List<BackupDeviceItem>
    end
public class BackupDeviceList extends List<BackupDeviceItem>

Remarks

With the BackupDeviceList object, you can do the following:

  • Perform a backup to the specified list of devices.

  • Add backup devices to the list.

Inheritance Hierarchy

System.Object
  System.Collections.Generic.List<BackupDeviceItem>
    Microsoft.SqlServer.Management.Smo.BackupDeviceList

Thread Safety

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