[This is preliminary documentation and subject to change]

### HcPriority

This metabase 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 will use the matching scheme that has the highest priority number.

Valid priority numbers can be 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 Web service must be restarted before any changes to this property take effect.

Attribute Name | Attribute Value
Data Type | DWORD
Attributes | NO_ATTRIBUTES
Default Value | 1
MetaFlagsEx | CACHE_PROPERTY_MODIFIED
User Type | IIS_MD_UT_SERVER
StartingNumber |
EndingNumber | 0
ID | 2240

### Access Locations

This property is accessible at the following locations:

Metabase Path | IIS Admin Object Type
/LM/W3SVC/Filters/Compression/gzip | IIsCompressionScheme

### IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier | MD_HC_PRIORITY
Data type | DWORD
User type | IIS_MD_UT_SERVER

© 1997-2001 Microsoft Corporation. All rights reserved.