DirectoryLevelsToScan Metabase Property (IIS 6.0)
The DirectoryLevelsToScan property specifies the number of virtual directory levels to scan in the metabase from the root virtual directory for a server in order to build a list of directories to be monitored for file system changes. 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. The value of this property ranges from 0 to 4294967295 (or unlimited).
The metabase represents unlimited as the DWORD value of 4294967295 (0xFFFFFFFF); however, Microsoft Visual Basic Scripting Edition (VBScript) represents unlimited in hexadecimal format as &HFFFFFFFF. Previous versions of IIS represented unlimited as -1.
You can configure this property at the following locations in the IIS metabase.
For general code examples, see Code Examples to Configure Metabase Properties.