BackupDeviceType 枚举

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.SqlEnum(在 Microsoft.SqlServer.SqlEnum.dll 中)

语法

声明
Public Enumeration BackupDeviceType
用法
Dim instance As BackupDeviceType
public enum BackupDeviceType
public enum class BackupDeviceType
type BackupDeviceType
public enum BackupDeviceType

成员

成员名称 说明
CDRom 标识为仅供参考。不提供支持。不保证以后的兼容性。
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.

注释

The BackupDeviceType enumeration class is served by the BackupDevice class.

示例

备份和还原数据库和事务日志

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

BACKUP (Transact-SQL)

RESTORE (Transact-SQL)