IFPCNetworkRule::Order property

Applies to: desktop apps only

The Order property gets the ordinal position of the rule in the list of network rules, which corresponds to the order of application. When a request is received, each network rule is checked to determine whether it allows the connection. Once a matching network rule is found, the remaining rules are not checked.

This property is read-only.

Syntax


HRESULT get_Order(
  long *plOrder
);

Property value

A 32-bit integer that specifies the ordinal position of the rule in the list of network 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. It can be modified by calling the MoveUp and MoveDown methods of the FPCNetworkRules 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

FPCNetworkRule

 

 

Build date: 7/12/2010

Show: