Protocol Property of the IFPCVpnNetworkL2tpPptpSettings Interface

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

[C++]
HRESULT put_Protocol(
	FpcVpnProtocol Protocol
);
HRESULT get_Protocol(
	FpcVpnProtocol* pProtocol
);

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 Value

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

[Visual Basic]
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

Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCVpnNetworkL2tpPptpSettings


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

508 Resource Limit Is Reached

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.