Share via


IFPCPolicyRule::Order property

Applies to: desktop apps only

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

This property is read-only.

Syntax

HRESULT get_Order(
  long *plOrder
);
' Data type: Long

Property Order( _
  ByVal plOrder As long _
) As Long

Property value

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

Error codes

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.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

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

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCPolicyRule

 

 

Build date: 7/12/2010