Microsoft Internet Security and Acceleration Server 2004 SDK

Protocol Property of IFPCVpnNetworkL2tpPptpSettings[C++]

FPCVpnNetworkL2tpPptpSettings.Protocol [Visual Basic]

[C++]

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

HRESULT get_Protocol(
  FpcVpnProtocol* pProtocol
);

HRESULT put_Protocol(
  FpcVpnProtocol Protocol
);

Parameters

pProtocol
Pointer to a value from the FpcVpnProtocol enumerated type that is set on return to the value specifying the VPN protocol to be used.
Protocol
Value from the FpcVpnProtocol enumerated type that specifies which VPN protocol is to be used.

Return Values

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.

[Visual Basic]

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

Property Protocol As FpcVpnProtocol

Property Value

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

Remarks

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

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCVpnNetworkL2tpPptpSettings