Classe BackupDeviceList

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

Cette API n'est pas conforme CLS. 

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (dans Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
<CLSCompliantAttribute(False)> _
Public Class BackupDeviceList _
    Inherits List(Of BackupDeviceItem)
'Utilisation
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>

Notes

With the BackupDeviceList object, you can do the following:

  • Perform a backup to the specified list of devices.

  • Add backup devices to the list.

Hiérarchie d'héritage

System. . :: . .Object
  System.Collections.Generic. . :: . .List< (Of < ( <'BackupDeviceItem> ) > ) >
    Microsoft.SqlServer.Management.Smo..::..BackupDeviceList

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.