共用方式為


ScriptMap (WMI)

This class corresponds to the ScriptMaps property in the metabase which specifies what script processor is mapped to what file name extensions. For example, on a default installation, the .asp file name extension of is mapped to the asp.dll ISAPI DLL.

IIsStructuredDataClass (WMI)

Methods

The ScriptMap object has no methods.

Properties

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

Property

Data type

Description

Extensions

String

The Extensions property specifies the file name extension, such as .htm. IIS allows an "*" in place of the file name extension, which effectively routes all requests though the designated ScriptProcessor. This feature is useful when applying a custom ISAPI extension that will handle requests from all file types.

Flags

String

The Flags property specifies the requested behavior. See the Bitmask Table in ScriptMaps.

IncludedVerbs

String

The IncludedVerbs property specifies a list of the verbs that a particular script processor DLL handles, for example,

"GET, POST, HEAD"

.

ScriptProcessor

String

The ScriptProcessor property specifies the full path to the DLL to which the extension is mapped.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also