次の方法で共有


HcPriority

The HcPriority property specifies the priority rating assigned to a particular compression scheme. If your installation of IIS has multiple compression schemes installed and a client browser indicates, in the Accept-Encoding header, that it can handle multiple compression schemes, IIS uses the priority numbers specified in HcPriority to determine which scheme to use for the request. In that case, IIS uses the matching scheme that has the highest priority number.

Valid priority numbers range from 1 to 10. In general, if you have multiple compression schemes installed with IIS, you should assign each compression scheme a different priority number.

The World Wide Web Publishing Service (WWW service) must be restarted before any changes to this property take effect.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

1

Internal Default

Not specified.

Upper Bound

0

Lower Bound

Not specified

Internal ID

2240

Friendly ID

MD_HC_PRIORITY

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/gzip

/LM/W3SVC/Filters/Compression/deflate

IIsCompressionScheme

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