[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 Name | Attribute Value
Data Type | DWORD
Attributes | NO_ATTRIBUTES
Default Value | 2
MetaFlagsEx | CACHE_PROPERTY_MODIFIED
User Type | IIS_MD_UT_SERVER
StartingNumber |
EndingNumber | 0
ID | 1022

### Access Locations

This property is accessible at the following locations:

Metabase Path | IIS Admin Object Type
/LM/NNTPSVC | IIsNntpService
/LM/W3SVC | IIsWebService

### 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 type | DWORD
User type | IIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.