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 中备份和还原数据库