IFPCVpnConfiguration::MaximumVpnClients property

Applies to: desktop apps only

The MaximumVpnClients property gets or sets the maximum number of concurrent VPN clients.

This property is read/write.

Syntax

HRESULT put_MaximumVpnClients(
  Long fMaximumVpnClients
);

HRESULT get_MaximumVpnClients(
  Long *pfMaximumVpnClients
);
' Data type: Long

Property MaximumVpnClients( _
  ByVal fMaximumVpnClients As Long, _
  ByVal pfMaximumVpnClients As Long _
) As Long

Property value

A 32-bit integer that specifies the maximum number of concurrent VPN clients.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. The default value set for this property during installation is 100.

When the UseDHCPForAddressAssignment property indicates that the static address pool is used for assigning IP addresses to VPN clients and remote VPN servers, each static address pool must include at least one more IP address than the number specified by the MaximumVpnClients property. Conversely, the value of the MaximumVpnClients property must be smaller than the number of IP addresses included in a static address pool.

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

FPCVpnConfiguration

 

 

Build date: 7/12/2010