Share via


BackupDeviceType Enumeration

The BackupDeviceType enumeration contains values that are used to specify the backup device type.

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

Syntax

'Declaration
Public Enumeration BackupDeviceType
'Usage
Dim instance As BackupDeviceType
public enum BackupDeviceType
public enum class BackupDeviceType
type BackupDeviceType
public enum BackupDeviceType

Members

Member name Description
CDRom Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.
Disk Device is a disk file created on the hard disk.
FloppyA Device is a disk file created on the removable media in a floppy disk drive.
FloppyB Device is a disk file create on the removable media in drive B
Pipe Device is a named pipe.
Tape Device is a tape drive.
Unknown The device is unknown.

Remarks

The BackupDeviceType enumeration class is served by the BackupDevice class.

Examples

Backing Up and Restoring Databases and Transaction Logs

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

BACKUP (Transact-SQL)

RESTORE (Transact-SQL)