NetworksToListenOn Property of the IFPCVpnConfiguration Interface

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

[C++]
HRESULT get_NetworksToListenOn(
	IFPCRefs** ppRefs
);

Parameters

ppRefs

Address of an interface pointer that on return points to an IFPCRefs interface that represents a collection of references to the networks from which VPN clients and remote VPN servers can initiate VPN connections.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.
[Visual Basic]
Property NetworksToListenOn 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.

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

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

FPCVpnConfiguration


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.