共用方式為


DeviceType 屬性

Gets the kind of device for the BackupDeviceItem object.

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

語法

'宣告
Public Property DeviceType As DeviceType
    Get
    Set
'用途
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)

屬性值

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