Condividi tramite


Classe BackupDeviceCollection

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

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class BackupDeviceCollection _
    Inherits SimpleObjectCollectionBase
'Utilizzo
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

Osservazioni

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.

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.