Share via


HcMaxDiskSpaceUsage Metabase Property

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

The HcMaxDiskSpaceUsage property specifies whether IIS limits the number of bytes of disk space occupied by compressed files in the compression directory.

Disk space limiting is performed, and HcMaxDiskSpaceUsage is checked by IIS, only if HcDoDiskSpaceLimiting Metabase Property is set to true. If HcMaxDiskSpaceUsage is set to 4294967295, there will be no limit on the number of bytes occupied by compressed files.

The metabase represents unlimited as the DWORD value of 4294967295 (0xFFFFFFFF); however, VBScript represents unlimited in hexadecimal format as &HFFFFFFFF. Previous versions of IIS represented unlimited as -1.

Attribute Name Attribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_HC_MAX_DISK_SPACE_USAGE

Attributes

NO_ATTRIBUTES

Default Value

1000000

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

2221

Configurable Locations

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

Metabase Path IIS Admin Object Type

/LM/W3SVC/Filters/Compression/Parameters

IIsCompressionSchemes

Code Example

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