共用方式為


HcMaxDiskSpaceUsage

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 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.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

1000000

Internal Default

100000000

Upper Bound

0

Lower Bound

Not specified

Internal ID

2221

Friendly ID

MD_HC_MAX_DISK_SPACE_USAGE

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/W3SVC/Filters/Compression/Parameters

IIsCompressionSchemes

Flags

There are no flags for this property.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also