共用方式為


MimeMap (WMI)

This class corresponds to the MimeMap property in the metabase which 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. See the IIsMimeMap (ADSI) object for details on managing this property.

IIsStructuredDataClass (WMI)

Methods

The MimeMap object has no methods.

Properties

The MimeMap object defines the following properties, in addition to those inherited from IIsStructuredDataClass (WMI).

Property

Data type

Description

Extension

String

The Extension property specifies the file name extension, for example, ".asx".

MimeType

String

The MimeType property specifies the MIME type, for example, "video/x-ms-asf".

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also