[This is preliminary documentation and subject to change]

DirectoryLevelsToScan

This property specifies the number of virtual directory levels to scan in the metabase from the top of the tree (that is, the root virtual directory for a server) to build a list of directories to be monitored for file system changes. The valid range is 0 to 0xFFFFFFFF (unlimited). If a virtual directory is not included in the list, then the IIS cache will not be flushed when a file change occurs in the directory. This list is also used for down-level remote administration from earlier versions of IIS.
Attribute NameAttribute Value
Data TypeDWORD
AttributesNO_ATTRIBUTES
Default Value2
MetaFlagsExCACHE_PROPERTY_MODIFIED
User TypeIIS_MD_UT_SERVER
StartingNumber
EndingNumber0
ID1022

Access Locations

This property is accessible at the following locations:

Metabase PathIIS Admin Object Type
/LM/NNTPSVCIIsNntpService
/LM/W3SVCIIsWebService

IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier
MD_LEVELS_TO_SCAN
Data typeDWORD
User typeIIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.