IFPCVpnNetworkConfiguration::L2tpPptpSettings property

Applies to: desktop apps only

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.

This property is read-only.

Syntax

HRESULT get_L2tpPptpSettings(
  IFPCVpnNetworkL2tpPptpSettings **ppVpnNetworkL2tpPptpSettings
);
' Data type: FPCVpnNetworkL2tpPptpSettings

Property L2tpPptpSettings( _
  ByVal ppVpnNetworkL2tpPptpSettings As IFPCVpnNetworkL2tpPptpSettings _
) 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.

Error codes

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCVpnNetworkConfiguration

 

 

Build date: 7/12/2010