IFPCVpnNetworkL2tpPptpSettings::Protocol property

Applies to: desktop apps only

The Protocol property gets or sets a value from the FpcVpnProtocol enumerated type that specifies which VPN protocol is to be used.

This property is read/write.

Syntax

HRESULT put_Protocol(
  FpcVpnProtocol Protocol
);

HRESULT get_Protocol(
  FpcVpnProtocol *pProtocol
);
' Data type: FpcVpnProtocol

Property Protocol( _
  ByVal Protocol As FpcVpnProtocol, _
  ByVal pProtocol As FpcVpnProtocol _
) As FpcVpnProtocol

Property value

Value from the FpcVpnProtocol enumerated type that specifies which VPN protocol is to be used.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is fpcVpnL2TP, which specifies that the Layer Two Tunneling Protocol (L2TP) protocol is used.

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

FPCVpnNetworkL2tpPptpSettings

 

 

Build date: 7/12/2010