[This is preliminary documentation and subject to change]
This property contains one or more file names of default documents that will be returned to the client if no file name is included in the client's request. The default document will be returned if the EnableDefaultDoc flag of the DirBrowseFlags property is TRUE for the directory. This property can contain a list of default document file names separated by a comma and a space, for example Default1.htm, Default2.htm.
Important
If the EnableDefaultDoc flag is
not set in the DirBrowseFlags property, the server will not search for a
default document.
| Attribute Name | Attribute Value |
| Data Type | STRING |
| Attributes | INHERIT |
| Default Value | default.htm |
| MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
| User Type | IIS_MD_UT_FILE |
| StartingNumber | |
| EndingNumber | |
| ID | 6006 |
This property is accessible at the following locations:
| Metabase Path | IIS Admin Object Type |
| /LM/W3SVC/2 | IIsWebServer |
| /LM/W3SVC/Info/Templates/Public Web Site | IIsWebServer |
| /LM/W3SVC/Info/Templates/Secure Web Site | IIsWebServer |
| /LM/W3SVC | IIsWebService |
| /LM/W3SVC/1/ROOT | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/_vti_bin | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/IISAdmin | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/IISHelp | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/MSADC | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/Scripts | IIsWebVirtualDir |
| /LM/W3SVC/2/ROOT | IIsWebVirtualDir |
| /LM/W3SVC/2/ROOT/IISAdmin | IIsWebVirtualDir |
The following table lists additional information required only for code that uses the IIS Admin Base Object.
| Metabase identifier | MD_DEFAULT_LOAD_FILE |
| Data type | STRING |
| User type | IIS_MD_UT_FILE |
Related Topics
| DirBrowseFlags |