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 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
Send comments about this topic to Microsoft
Build date: 6/30/2010