Share via


MediaTypes Enumeration

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.

네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

구문

‘선언
<FlagsAttribute> _
Public Enumeration MediaTypes
[FlagsAttribute] 
public enum MediaTypes
[FlagsAttribute] 
public enum class MediaTypes
/** @attribute FlagsAttribute() */ 
public enum MediaTypes
FlagsAttribute 
public enum MediaTypes

Members

Member name Description
All Value = 15. Represents all media types.
CDRom Value = 8. Represents 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.

주의

The MediaTypes enumeration class is served by the EnumAvailableMedia method.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

Microsoft.SqlServer.Management.Smo Namespace