Freigeben über


DeviceType-Eigenschaft

Gets the kind of device for the BackupDeviceItem object.

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

Syntax

'Declaration
Public Property DeviceType As DeviceType
    Get
    Set
'Usage
Dim instance As BackupDeviceItem
Dim value As DeviceType

value = instance.DeviceType

instance.DeviceType = value
public DeviceType DeviceType { get; set; }
public:
property DeviceType DeviceType {
    DeviceType get ();
    void set (DeviceType value);
}
member DeviceType : DeviceType with get, set
function get DeviceType () : DeviceType
function set DeviceType (value : DeviceType)

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo. . :: . .DeviceType
A BackupDeviceType object value that specifies the kind of backup device.