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.
C++
HRESULT get_VpnConfiguration(
IFPCVpnNetworkConfiguration** ppVpnNetworkConfiguration
);
Parameters
- 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.
Remarks
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++).
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