EnableHistory Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The EnableHistory property enables or disables the metabase history feature. Setting this property to true enables metabase history. Setting the MaxHistoryFiles property to 0 (zero) effectively disables the metabase history feature. For more information, see Configuring the Metabase History Feature in IIS 6.0.

Important

If this property is set to false when EnableEditWhileRunning Metabase Property is set to true, IIS will write a warning to the event log and reset this property to true.

Attribute Name Attribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_ROOT_ENABLE_HISTORY

Attributes

NO_ATTRIBUTES

Default Value

null

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

9996

Configurable Locations

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

Metabase Path IIS Admin Object Type

/LM

IIsComputer

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.