VpnConfiguration Property of the IFPCNetwork Interface

The VpnConfiguration property gets an FPCVpnNetworkConfiguration object that provides access to the configuration settings for site-to-site virtual private network (VPN) connections to the network.

HRESULT get_VpnConfiguration(
	IFPCVpnNetworkConfiguration** ppVpnNetworkConfiguration



Address of an interface pointer that on return points to an IFPCVpnNetworkConfiguration interface that represents the configuration settings for site-to-site VPN connections to the network.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code, and the parameter returned is a null object.

[Visual Basic]
Property VpnConfiguration

Property Value

Reference to the FPCVpnNetworkConfiguration object for the network.


This property is read-only and is applicable only to a remote site network, for which the NetworkConnectionType property is set to fpcVPNConnection or to fpcIPSecConnection. The configuration settings for site-to-site VPN connections to the remote site network can be modified by accessing the properties of the FPCVpnNetworkConfiguration object retrieved (the IFPCVpnNetworkConfiguration interface retrieved in C++).


Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).

Declared in Msfpccom.idl.


Requires Msfpccom.dll.

See Also


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.