Share via


ConnectionLimitPolicy Property of the IFPCArrayPolicy Interface

The ConnectionLimitPolicy property gets an FPCConnectionLimitPolicy object that specifies the limits to the number of transport-layer protocol connections allowed at one time for default clients and special IP addresses. Examples of transport-layer protocols are TCP and UDP.

C++

HRESULT get_ConnectionLimitPolicy(
    IFPCConnectionLimitPolicy** ppConnectionLimitPolicy
);

Parameters

  • ppConnectionLimitPolicy
    Address of an interface pointer that on return points to an IFPCConnectionLimitPolicy interface that represents the limits to the number of transport-layer protocol connections allowed at one time for default clients and special IP addresses.

Return Value

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

Visual Basic

Property ConnectionLimitPolicy As FPCConnectionLimitPolicy

Property Value

Reference to an FPCConnectionLimitPolicy object that specifies the limits to the number of transport-layer protocol connections allowed at one time for default clients and special IP addresses.

Remarks

This property is read-only. The connection limit policy can be modified through the properties of the FPCConnectionLimitPolicy object retrieved (the IFPCConnectionLimitPolicy retrieved interface in C++).

The default limit for each transport-layer protocol is 160 connetions. In the case of UDP, the limit is on the number of connection mappings, rather than on the number of connections.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCArrayPolicy

Send comments about this topic to Microsoft

Build date: 6/30/2010