BackupDevices-Eigenschaft
Stellt eine Auflistung von BackupDevice-Objekten dar. Jedes BackupDevice-Objekt stellt ein für die SQL Server-Instanz definiertes Sicherungsmedium dar.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(BackupDevice))> _
Public ReadOnly Property BackupDevices As BackupDeviceCollection
Get
'Usage
Dim instance As Server
Dim value As BackupDeviceCollection
value = instance.BackupDevices
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(BackupDevice))]
public BackupDeviceCollection BackupDevices { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(BackupDevice))]
public:
property BackupDeviceCollection^ BackupDevices {
BackupDeviceCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(BackupDevice))>]
member BackupDevices : BackupDeviceCollection
function get BackupDevices () : BackupDeviceCollection
Eigenschaftswert
Typ: Microsoft.SqlServer.Management.Smo. . :: . .BackupDeviceCollection
Ein BackupDeviceCollection-Objekt, das alle für die SQL Server-Instanz definierten Sicherungsmedien darstellt.
Hinweise
A tape drive or disk drive that is used in a backup or restore operation is referred to as a backup device. When you create backups, you must select a backup device to write the data on. For more information, see Sicherungsmedien.