LimitSourcePortHigh Property of the IFPCPolicyRule Interface

The LimitSourcePortHigh property gets the upper limit of the range of source port numbers to which the rule applies.

[C++]
HRESULT get_LimitSourcePortHigh(
	long* plLimitSourcePortHigh
);

Parameters

plLimitSourcePortHigh

Pointer to a variable that on return receives a 32-bit integer specifying the upper limit of the source port range to which the rule applies.

Return Value

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

[Visual Basic]
Property LimitSourcePortHigh As Long

Property Value

A 32-bit integer that specifies the upper limit of the source port range to which the rule applies.

Remarks

This property is read-only. Its default value is 0, and its range of permissible values is from 0 through 65535. Both the lower and upper limits of the source port range can be set using the SetLimitSourcePortRange method.

For access rules and server publishing rules, the lower and upper limits of the source port range can also be set when the rules are created in Forefront TMG Management. However, for Web Publishing rules, the limits of this range can be set only by using the SetLimitSourcePortRange method.

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

FPCPolicyRule


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

[an error occurred while processing this directive]