Partager via


BackupDeviceType propriété

Gets or sets the type of backup device of the backup device.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property BackupDeviceType As BackupDeviceType
    Get
    Set
'Utilisation
Dim instance As BackupDevice
Dim value As BackupDeviceType

value = instance.BackupDeviceType

instance.BackupDeviceType = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public BackupDeviceType BackupDeviceType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property BackupDeviceType BackupDeviceType {
    BackupDeviceType get ();
    void set (BackupDeviceType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member BackupDeviceType : BackupDeviceType with get, set
function get BackupDeviceType () : BackupDeviceType
function set BackupDeviceType (value : BackupDeviceType)

Valeur de la propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .BackupDeviceType
A BackupDeviceType object that specifies the device type of the backup device. By default, the value is not specified.