EnableDefaultDoc

This property specifies that the default document (specified by the DefaultDoc property) for a directory will be loaded when the directory is being browsed. EnableDefaultDoc is one of the settings contained in the DirBrowseFlags property.

Data type DWORD
Default value -1
Inheritance Inheritable

Access Locations

This property is accessible at the following locations:

Metabase Path Key Type
/LM/W3SVC IIsWebService
/LM/W3SVC/N IIsWebServer
/LM/W3SVC/N/ROOT IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir/WebDirectory IIsWebDirectory

IIS Admin Base Object Information

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

Note   This property is a bitmask flag of the identifier MD_DIRECTORY_BROWSING.

Metabase identifier MD_DIRECTORY_BROWSING
Metabase bitmask identifier MD_DIRBROW_LOADDEFAULT
Data type DWORD_METADATA
User type IIS_MD_UT_FILE
Metabase bitmask value 0x40000000

See Also

DirBrowseFlags


© 1997-2001 Microsoft Corporation. All rights reserved.