MediaTypes 枚举
The MediaTypes enumeration contains values that are used to specify the type of media used to store data. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
此枚举具有可以使用其成员值位组合的 FlagsAttribute 属性。
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SqlEnum(在 Microsoft.SqlServer.SqlEnum.dll 中)
语法
声明
<FlagsAttribute> _
Public Enumeration MediaTypes
用法
Dim instance As MediaTypes
[FlagsAttribute]
public enum MediaTypes
[FlagsAttribute]
public enum class MediaTypes
[<FlagsAttribute>]
type MediaTypes
public enum MediaTypes
成员
成员名称 | 说明 | |
---|---|---|
All | Value = 15. Represents all media types. | |
CDRom | Value = 8. Represents the CD-ROM media type. | |
FixedDisk | Value = 2. Represents a fixed, hard disk drive. | |
Floppy | Value = 1. Represents a floppy drive with removable disks. | |
SharedFixedDisk | Value = 16. Represents a fixed, hard disk drive that has shared access. | |
Tape | Value = 4. Represents a tape drive. |