Classe BackupDeviceCollection

The BackupDeviceCollection class represents a collection of BackupDevice objects that represent all the backup devices on an instance of SQL Server.

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

Syntaxe

'Déclaration
Public NotInheritable Class BackupDeviceCollection _
    Inherits SimpleObjectCollectionBase
'Utilisation
Dim instance As BackupDeviceCollection
public sealed class BackupDeviceCollection : SimpleObjectCollectionBase
public ref class BackupDeviceCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type BackupDeviceCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class BackupDeviceCollection extends SimpleObjectCollectionBase

Notes

A BackupDeviceCollection object can be used to gain access to a set of backup devices. You can use the Item property to return a specific BackupDevice object.

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.