Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)
[FlagsAttribute] 
public enum MediaTypes
/** @attribute FlagsAttribute() */ 
public enum MediaTypes
FlagsAttribute 
public enum MediaTypes
Member nameDescription
AllValue = 15. Represents all media types.
CDRomValue = 8. Represents CD-ROM media type.
FixedDiskValue = 2. Represents a fixed, hard disk drive.
FloppyValue = 1. Represents a floppy drive with removable disks.
SharedFixedDiskValue = 16. Represents a fixed, hard disk drive that has shared access.
TapeValue = 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.


Development Platforms

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

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.