Share via


Devices 屬性

Gets the backup devices specified for the backup or restore operation.

此 API 不符合 CLS 標準。 

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)

語法

'宣告
<CLSCompliantAttribute(False)> _
Public ReadOnly Property Devices As BackupDeviceList
    Get
'用途
Dim instance As BackupRestoreBase
Dim value As BackupDeviceList

value = instance.Devices
[CLSCompliantAttribute(false)]
public BackupDeviceList Devices { get; }
[CLSCompliantAttribute(false)]
public:
property BackupDeviceList^ Devices {
    BackupDeviceList^ get ();
}
[<CLSCompliantAttribute(false)>]
member Devices : BackupDeviceList
function get Devices () : BackupDeviceList

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .BackupDeviceList
A BackupDeviceList object array value that lists the names of the required backup devices. By default, the value is unspecified.