Microsoft Internet Security and Acceleration Server 2004 SDK

Order Property of IFPCPolicyRule[C++]

FPCPolicyRule.Order [Visual Basic]

[C++]

The Order property gets the rule's ordinal position in the list of policy rules, which corresponds to their order of application.

HRESULT get_Order(
  long* plOrder
);

Parameters

plOrder
Pointer to a variable that on return receives a 32-bit integer specifying the rule's ordinal position in the list of policy rules.

Return Values

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

Remarks

This property is read-only. By default, a new rule is added to the top of the list of policy rules with a value of 1 for this property. It can be modified by using the MoveDown and MoveUp methods of the FPCPolicyRules collection. Because these methods change the ordinal positions of more than one rule in the collection, the Save method must be called on the collection to write the changes to persistent storage.

[Visual Basic]

The Order property gets the rule's ordinal position in the list of policy rules, which corresponds to their order of application.

Property Order As Long

Property Value

A 32-bit integer that specifies the rule's ordinal position in the list of policy rules.

Remarks

This property is read-only. By default, a new rule is added to the top of the list of policy rules with a value of 1 for this property. It can be modified by using the MoveDown and MoveUp methods of the FPCPolicyRules collection. Because these methods change the ordinal positions of more than one rule in the collection, the Save method must be called on the collection to write the changes to persistent storage.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCPolicyRule