Share via


BackupDeviceCollection-Klasse

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

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

Syntax

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

Hinweise

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.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.