Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
public enum BackupDeviceType
public enum class BackupDeviceType
public enum BackupDeviceType
public enum BackupDeviceType
Members
Member name | Description |
---|---|
CDRom | Reserved for future use. |
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 | Device type is not valid. |
Remarks
The BackupDeviceType enumeration class is served by the BackupDevice class.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Back Up Databases and Transaction Logs in Visual Basic .NET
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
BACKUP (Transact-SQL)
RESTORE (Transact-SQL)
Backing Up and Restoring Databases in SQL Server