BackupDeviceType Enumeration
The BackupDeviceType enumeration contains values that are used to specify the backup device type.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)
語法
'宣告
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. |
備註
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.
範例
How to: Back Up Databases and Transaction Logs in Visual Basic .NET
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
Microsoft.SqlServer.Management.Smo Namespace
其他資源
BACKUP (Transact-SQL)
RESTORE (Transact-SQL)
在 SQL Server 中備份和還原資料庫