add Element for globalModules [IIS Settings Schema]
Note
For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding Global Modules <add>.
Specifies a global module to be added to the Web server.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
Attribute |
Description |
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
image |
Required string attribute. Specifies the physical path of the .dll file for the global module. The attribute value will be expanded when environment variables, such as %windir%, are used. |
||||||||||||||
name |
Required string attribute. Specifies the name of the global module. |
||||||||||||||
preCondition |
Optional string attribute. Specifies conditions under which the global module will run. The preCondition attribute can be one or more of the following possible values. If you specify more than one value, separate the values with a comma (,).
|
Child Elements
None.
Parent Elements
Element |
Description |
---|---|
configuration |
Specifies the root element in every configuration file that is used by IIS 7. |
system.webServer |
Specifies the root element in ApplicationHost.config that is the top-level section group in which this element is defined. |
globalModules |
Specifies configuration settings for global modules on a Web server. |
Remarks
For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding Global Modules <add>.
Element Information
Configuration locations |
ApplicationHost.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |