Compartir a través de


KeyType Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The KeyType property specifies the type of metabase key and the IIS Admin Object that relates to that key. The KeyType property specifies 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

XML Data Type

String

WMI Data Type

String

ADSI Data Type

String

ABO Data Type

String

ABO Metabase Identifier

MD_KEY_TYPE

Attributes

NO_ATTRIBUTES

Default Value

null

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

1002

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path IIS Admin Object Type

/LM/W3SVC/n/ROOT /LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

/LM/W3SVC/n

IIsWebServer

/LM/MSFTPSVC/n

IIsFtpServer

/LM

IIsComputer

/LM/W3SVC

IIsWebService

/LM/MSFTPSVC

IIsFtpService

/LM/W3SVC/n/ROOT/file_name /LM/W3SVC/n/ROOT/virtual_directory_name/file_name

IIsWebFile

/LM/W3SVC/n/ROOT/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

/LM/MSFTPSVC/n/ROOT /LM/MSFTPSVC/n/ROOT/virtual_directory_name

IIsFtpVirtualDir

/LM/W3SVC/Filters/filter_name /LM/W3SVC/n/Filters/filter_name

IIsFilter

/LM/W3SVC/Filters /LM/W3SVC/n/Filters

IIsFilters

/LM/W3SVC/Filters/Compression/gzip /LM/W3SVC/Filters/Compression/deflate

IIsCompressionScheme

/LM/W3SVC/Filters/Compression/Parameters

IIsCompressionSchemes

/LM/W3SVC/n/IIsCertMapper

IIsCertMapper

/LM/MimeMap

IIsMimeMap

/LM/logging

IIsLogModules

/LM/logging/Microsoft IIS Log File Format /LM/logging/NCSA Common Log File Format /LM/logging/ODBC Logging /LM/logging/W3C Extended Log File Format

IIsLogModule

/LM/logging/Custom Logging /LM/logging/Custom Logging/Date /LM/logging/Custom Logging/Time /LM/logging/Custom Logging/Extended Properties /LM/logging/Custom Logging/Extended Properties/extended_property_name

IIsCustomLogModule

/LM/W3SVC/Info

IIsWebInfo

/LM/MSFTPSVC/Info

IIsFtpInfo

/LM/NNTPSVC

IIsNntpService

/LM/NNTPSVC/n

IIsNntpServer

/LM/NNTPSVC/n/ROOT /LM/NNTPSVC/n/ROOT/virtual_directory_name

IIsNntpVirtualDir

/LM/NNTPSVC/Info

IIsNntpInfo

/LM/SMTPSVC

IIsSmtpService

/LM/SMTPSVC/n

IIsSmtpServer

/LM/SMTPSVC/n/ROOT /LM/SMTPSVC/n/ROOT/virtual_directory_name

IIsSmtpVirtualDir

/LM/SMTPSVC/n/Domain

IIsSmtpDomain

/LM/SMTPSVC/n/RoutingSources

IIsSmtpRoutingSource

/LM/SMTPSVC/Info

IIsSmtpInfo

/LM/NNTPSVC/n/Rebuild

IIsNntpRebuild

/LM/NNTPSVC/n/Sessions

IIsNntpSessions

/LM/NNTPSVC/n/Feeds

IIsNntpFeeds

/LM/NNTPSVC/n/Feeds/feedn

IIsNntpFeed

/LM/NNTPSVC/n/Expires

IIsNntpExpiration

/LM/NNTPSVC/n/Expires/expiren

IIsNntpExpire

/LM/NNTPSVC/n/Groups

IIsNntpGroups

/LM/SMTPSVC/n/Sessions

IIsSmtpSessions

/

IIS_ROOT

.

IIS_Global

/LM/SMTPSVC/n/Alias

IIsSmtpAlias

/LM/SMTPSVC/n/DL

IIsSmtpDL

/LM/SMTPSVC/n/user

IIsSmtpUser

/LM/W3SVC/AppPools/DefaultAppPool /LM/W3SVC/AppPools/DefaultAppPool/application_pool_name

IIsApplicationPool

/LM/W3SVC/AppPools

IIsApplicationPools

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.