BackupDeviceItem.DeviceType Property

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)

Property Value

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

Examples

Backing Up and Restoring Databases and Transaction Logs

See Also

Reference

BackupDeviceItem Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

BACKUP (Transact-SQL)