Aracılığıyla paylaş


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.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

Syntax

'Bildirim
<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 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.

Remarks

The MediaTypes enumeration class is served by the EnumAvailableMedia method.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.