Export (0) Print
Expand All

IFPCUserAgentMapping::Order property

Applies to: desktop apps only

The Order property gets the ordinal position of the User-Agent mapping in the list of User-Agent mappings, which corresponds to the order in which the User-Agent mappings are tested to find a mapping that matches the User-Agent header in a request. If the first mapping in the list does not match the User-Agent header in a request, the second mapping is tested, and so on.

This property is read-only.


HRESULT get_Order(
  long *plOrder

Property value

A 32-bit integer that specifies the ordinal position of the User-Agent mapping in the list of User-Agent mappings.

Error codes

This property method returns S_OK if the call is successful; otherwise, it returns an error code.


This property is read-only. It corresponds to the one-based index of the object in the FPCUserAgentMappings collection, and can be modified by calling the MoveUp and MoveDown methods of the FPCUserAgentMappings collection. Because these methods change the ordinal positions of more than one User-Agent mapping in the collection, the Save method must be called on the collection to write the changes to persistent storage.


Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)


Forefront Threat Management Gateway (TMG) 2010





See also




Build date: 7/12/2010

Community Additions

© 2014 Microsoft