Order Property of the IFPCNetworkRule Interface

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.

[C++]
HRESULT get_Order(
	long* plOrder
);

Parameters

plOrder

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

Return Value

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

[Visual Basic]
Property Order As Long

Property Value

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

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

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCNetworkRule


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.