L2tpPptpSettings Property of the IFPCVpnNetworkConfiguration Interface
The L2tpPptpSettings property gets an FPCVpnNetworkL2tpPptpSettings object that specifies the Layer Two Tunneling Protocol (L2TP) and Point-to-Point Tunneling Protocol (PPTP) settings for outgoing site-to-site VPN connections to the remote site network.
C++
HRESULT get_L2tpPptpSettings(
IFPCVpnNetworkL2tpPptpSettings** ppVpnNetworkL2tpPptpSettings
);
Parameters
- ppVpnNetworkL2tpPptpSettings
Address of an interface pointer that on return points to an IFPCVpnNetworkL2tpPptpSettings interface that specifies the L2TP and PPTP settings for outgoing site-to-site VPN connections to the remote site network.
Return Value
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Visual Basic
Property L2tpPptpSettings As FPCVpnNetworkL2tpPptpSettings
Property Value
Reference to an FPCVpnNetworkL2tpPptpSettings object that specifies the L2TP and PPTP settings for outgoing site-to-site VPN connections to the remote site network.
Remarks
This property is read-only and is applicable only if the NetworkConnectionType property of the containing FPCNetwork object is set to fpcVPNConnection. The L2TP and PPTP settings for outgoing site-to-site VPN connections to the remote site network can be modified through the properties of the FPCVpnNetworkL2tpPptpSettings object retrieved (the IFPCVpnNetworkL2tpPptpSettings 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