Condividi tramite


Proprietà BackupDevice.BackupDeviceType

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

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

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property BackupDeviceType As BackupDeviceType 
    Get 
    Set
'Utilizzo
Dim instance As BackupDevice 
Dim value As BackupDeviceType 

value = instance.BackupDeviceType

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

Valore proprietà

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

Esempi

Backup e ripristino dei database e dei log delle transazioni

Vedere anche

Riferimento

BackupDevice Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Dispositivi di backup (SQL Server)