IFPCVpnConfiguration::NetworksToListenOn property

Applies to: desktop apps only

The NetworksToListenOn property gets an FPCRefs collection of references to the networks from which VPN clients and remote VPN servers can initiate VPN connections.

This property is read-only.

Syntax

HRESULT get_NetworksToListenOn(
  IFPCRefs **ppRefs
);
' Data type: FPCRefs

Property NetworksToListenOn( _
  ByVal ppRefs As IFPCRefs _
) As FPCRefs

Property value

Reference to an FPCRefs collection that contains references to the networks from which VPN clients and remote VPN servers can initiate VPN connections.

Error codes

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

Remarks

This property is read-only. By default, the set of networks from which VPN clients and remote VPN servers can initiate VPN connections includes a reference to the External network. This set of networks can be modified by calling the methods of the FPCRefs collection retrieved (the IFPCRefs interface retrieved in C++).

For site-to-site VPN connections, the NetworksToListenOn property must include a reference to the network containing the IP address of the network adapter of the remote VPN server from which the initial requests are sent to the local VPN server.

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