[This is preliminary documentation and subject to change]
The KeyType property specifies the type of a metabase key, and the IIS Admin Object that relates to that key. The KeyType property is used to specify the class of the object associated with the key, such as IIsWebServer or IIsWebVirtualDir. The KeyType determines the set of properties accessible at the key.
Note
The KeyType property is accessible by
all IIS Admin Objects. The value is the name of the IIS Admin
Object accessed, and is the same as the ADSI Class
property.
| Attribute Name | Attribute Value |
| Data Type | STRING |
| Attributes | NO_ATTRIBUTES |
| Default Value | null |
| MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
| User Type | IIS_MD_UT_SERVER |
| StartingNumber | |
| EndingNumber | |
| ID | 1002 |
This property is accessible at the following locations:
| Metabase Path | IIS Admin Object Type |
| / | IIS_ROOT |
| /LM/W3SVC/AppPools/DefaultAppPool | IIsApplicationPool |
| /LM/W3SVC/AppPools | IIsApplicationPools |
| /LM/W3SVC/1/IIsCertMapper | IIsCertMapper |
| /LM/W3SVC/2/IIsCertMapper | IIsCertMapper |
| /LM/W3SVC/Filters/Compression/deflate | IIsCompressionScheme |
| /LM/W3SVC/Filters/Compression/gzip | IIsCompressionScheme |
| /LM/W3SVC/Filters/Compression/Parameters | IIsCompressionSchemes |
| /LM | IIsComputer |
| /LM/W3SVC/Filters/Compression | IIsFilter |
| /LM/W3SVC/Filters/fpexedll.dll | IIsFilter |
| /LM/W3SVC/Filters | IIsFilters |
| /LM/MSFTPSVC/Info | IIsFtpInfo |
| /LM/MSFTPSVC/1 | IIsFtpServer |
| /LM/MSFTPSVC/Info/Templates/Public FTP Site | IIsFtpServer |
| /LM/MSFTPSVC | IIsFtpService |
| /LM/MSFTPSVC/1/ROOT | IIsFtpVirtualDir |
| /LM/Logging/Microsoft IIS Log File Format | IIsLogModule |
| /LM/Logging/NCSA Common Log File Format | IIsLogModule |
| /LM/Logging/ODBC Logging | IIsLogModule |
| /LM/Logging/W3C Extended Log File Format | IIsLogModule |
| /LM/Logging | IIsLogModules |
| /LM/MimeMap | IIsMimeMap |
| /LM/NNTPSVC/1/Expires | IIsNntpExpiration |
| /LM/NNTPSVC/1/Feeds | IIsNntpFeeds |
| /LM/NNTPSVC/1/Groups | IIsNntpGroups |
| /LM/NNTPSVC/Info | IIsNntpInfo |
| /LM/NNTPSVC/1/Rebuild | IIsNntpRebuild |
| /LM/NNTPSVC/1 | IIsNntpServer |
| /LM/NNTPSVC | IIsNntpService |
| /LM/NNTPSVC/1/Sessions | IIsNntpSessions |
| /LM/NNTPSVC/1/ROOT | IIsNntpVirtualDir |
| /LM/NNTPSVC/1/ROOT/_slavegroup | IIsNntpVirtualDir |
| /LM/NNTPSVC/1/ROOT/control | IIsNntpVirtualDir |
| /LM/W3SVC/Info | IIsWebInfo |
| /LM/W3SVC/1 | IIsWebServer |
| /LM/W3SVC/2 | IIsWebServer |
| /LM/W3SVC/Info/Templates/Public Web Site | IIsWebServer |
| /LM/W3SVC/Info/Templates/Secure Web Site | IIsWebServer |
| /LM/W3SVC | IIsWebService |
| /LM/W3SVC/1/ROOT | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/_vti_bin | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/IISAdmin | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/IISHelp | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/MSADC | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/Scripts | IIsWebVirtualDir |
| /LM/W3SVC/2/ROOT | IIsWebVirtualDir |
| /LM/W3SVC/2/ROOT/IISAdmin | IIsWebVirtualDir |
The following table lists additional information required only for code that uses the IIS Admin Base Object.
| Metabase identifier | MD_KEY_TYPE |
| Data type | STRING |
| User type | IIS_MD_UT_SERVER |