Compartir a través de


MimeMap Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The MimeMap property provides a list of the file name extensions for Multipurpose Internet Mail Extensions (MIME) mappings. The MimeMap key at the local machine level of the metabase establishes the default list, which can be overridden at the World Wide Web Publishing Service (WWW service) and Web server level keys. For more information about managing this property, see the IIsMimeMap object in the IIS ADSI Provider reference section of the IIS Software Development Kit (SDK).

Attribute Name Attribute Value

XML Data Type

MIMEMAP

WMI Data Type

MIMEMAP

ADSI Data Type

MIMEMAP

ABO Data Type

MIMEMAP

ABO Metabase Identifier

MD_MIME_MAP

Attributes

INHERIT

Default Value

null

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_FILE

ID

6015

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path IIS Admin Object Type

/LM/W3SVC/n/ROOT
/LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

/LM/W3SVC/n

IIsWebServer

/LM

IIsComputer

/LM/W3SVC

IIsWebService

/LM/W3SVC/n/ROOT/file_name /LM/W3SVC/n/ROOT/virtual_directory_name/file_name

IIsWebFile

/LM/W3SVC/n/ROOT/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

/LM/MimeMap

IIsMimeMap

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.