Share via


VpnStaticAddressPoolEx Property of the IFPCEEServer Interface

The VpnStaticAddressPoolEx property gets an FPCIpRangeSet collection that contains objects defining the IP address ranges in the static address pool from which the server can assign IP addresses to VPN clients and remote VPN servers connecting to it.

C++

HRESULT get_VpnStaticAddressPoolEx(
    IFPCIpRangeSet** ppVpnStaticAddressPoolEx
);

Parameters

  • ppVpnStaticAddressPoolEx
    Address of an interface pointer that on return points to the IFPCIpRangeSet interface that represents the static address pool from which the server can assign IP addresses to VPN clients and remote VPN servers connecting to it.

Return Value

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

Visual Basic

Property VpnStaticAddressPoolEx As FPCIpRangeSet

Property Value

Reference to the FPCIpRangeSet collection that represents the static address pool from which the server can assign IP addresses to VPN clients and remote VPN servers connecting to it.

Remarks

This property is read-only. In Forefront TMG, the static address pool is configured by calling the methods of the FPCIpRangeSet object retrieved (the IFPCIpRangeSet interface retrieved in C++).

A static address pool must be defined for every member of the array. The IP address ranges included in a static address pool must not intersect with any IP address range included the static address pool of another array member or with any IP address range included in a configurable network.

The static address pool must include enough IP addresses for the expected number of remote VPN connections from roaming VPN clients and remote VPN servers. The static address pool configured for each array member must include at least one more IP address than the number specified by the MaximumVpnClients property of the FPCVpnConfiguration object. By default, each static address pool must include at least 101 IP addresses.

The static address pool is used for assigning IP addresses to VPN clients and remote VPN servers only when the value of the UseDHCPForAddressAssignment property of the FPCVpnConfiguration object is False (VARIANT_FALSE in C++).

This property supersedes the VpnStaticAddressPool property of the FPCServer object and the StaticAddressPool property of the FPCVpnConfiguration object.

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

FPCServer

Send comments about this topic to Microsoft

Build date: 6/30/2010