DirectoryLevelsToScan

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.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

2

Internal Default

Not specified.

Upper Bound

0

Lower Bound

Not specified

Internal ID

1022

Friendly ID

MD_LEVELS_TO_SCAN

Property Attributes

NO_ATTRIBUTES

User Type

IIS_MD_UT_SERVER

Configurable Locations

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

Metabase Path

IIS Admin Object Type

/LM/W3SVC

IIsWebService

/LM/MSFTPSVC

IIsFtpService

/LM/NNTPSVC

IIsNntpService

Flags

There are no flags for this property.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also