[This is preliminary documentation and subject to change]

### MaxHistoryFiles

This property configures the maximum number of pairs of history files that will be saved in the history folder. A pair of history files is a MetaBase.XML and MBSchema.XML history file named with the same major and minor version number and stored in the history folder.

Caution If the EnableEditWhileRunning property is set to TRUE, then the MaxHistoryFiles property should not be configured to a value less than 10. Setting the value of the MaxHistoryFiles property to a value lower than 10 may cause edit while running to fail, whereas setting the value of the MaxHistoryFiles property too high may have an impact on disk capacity.

Before increasing the value of the MaxHistoryFiles property above the value of 10, ensure that you have adequate hard disk space on the drive volume that the history folder is located on. You can estimate the amount of hard disk space required by multiplying the average combined file size of the MetaBase.XML and MBSchema.XML files by the number of versions that you want to store in the history folder. For information about configuring metabase history, see Configuring the Metabase History Feature and About the Metabase History Feature.

Attribute Name | Attribute Value
Data Type | DWORD
Attributes | NO_ATTRIBUTES
Default Value | 10
MetaFlagsEx | CACHE_PROPERTY_MODIFIED
User Type | IIS_MD_UT_SERVER
StartingNumber |
EndingNumber |
ID | 9995

### Access Locations

This property is accessible at the following locations:

Metabase Path | IIS Admin Object Type

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

Related Topics

EnableHistory

© 1997-2001 Microsoft Corporation. All rights reserved.