共用方式為


MaxHistoryFiles

The MaxHistoryFiles property specifies the maximum number of paired history files that are saved in the history folder. A pair of history files consists of a MetaBase.xml and a MBSchema.xml file, named with the same major and minor version number, and stored in the history folder.

ms525692.alert_caution(en-us,VS.90).gifImportant Note:

If the EnableEditWhileRunning property is set to true, 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 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.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

10

Internal Default

10

Upper Bound

Not specified

Lower Bound

Not specified

Internal ID

9995

Friendly ID

MD_ROOT_MAX_HISTORY_FILES

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

IIsComputer

Flags

There are no flags for this property.

Requirements

Server: Requires or Windows Server 2003.

Product: IIS

See Also