VerbElement Class [IIS 7 and higher]
Represents an HTTP verb that is allowed or denied.
Syntax
class VerbElement : CollectionElement
Methods
This class contains no methods.
Properties
The following table lists the properties exposed by the VerbElement class.
Name |
Description |
---|---|
Allowed |
A required read/write boolean value. true if the HTTP verb specified in the Verb property is allowed; otherwise, false. The default is true. |
Verb |
A required unique nonempty read/write string value that specifies an HTTP verb. The key property. |
Subclasses
This class contains no subclasses.
Remarks
Instances of this class are contained in the Verbs property of the VerbsSettings class.
This class corresponds to a verb attribute in the <verbs> section of the ApplicationHost.config file.
Note
You must install the Request Filtering Module (Modrqflt.dll) for this configuration setting to take effect.
Inheritance Hierarchy
VerbElement
Requirements
Type |
Description |
---|---|
Client |
Requires IIS 7 on Windows Vista. |
Server |
Requires IIS 7 on Windows Server 2008. |
Product |
IIS 7 |
MOF file |
WebAdministration.mof |