Microsoft Internet Security and Acceleration Server 2004 SDK

AllowCustomIPSecPolicyForL2TP Property of IFPCVpnConfiguration[C++]

FPCVpnConfiguration.AllowCustomIPSecPolicyForL2TP [Visual Basic]

[C++]

The AllowCustomIPSecPolicyForL2TP property gets or sets a Boolean value that indicates whether the IPSec policy for L2TP can be customized.

HRESULT get_AllowCustomIPSecPolicyForL2TP(
  VARIANT_BOOL* pfAllowCustomIPSecPolicyForL2TP
);

HRESULT put_AllowCustomIPSecPolicyForL2TP(
  VARIANT_BOOL fAllowCustomIPSecPolicyForL2TP
);

Parameters

pfAllowCustomIPSecPolicyForL2TP
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the IPSec policy for L2TP can be customized, or to VARIANT_FALSE if the IPSec policy for L2TP cannot be customized.
fAllowCustomIPSecPolicyForL2TP
Boolean value that specifies whether the IPSec policy for L2TP can be customized.

Return Values

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

On computers running a Windows 2000 Server operating system, these property methods always return E_FPC_VPN_IPSEC_PRESHARED_SECRET_NOT_SUPPORTED.

Remarks

This property is read/write.

This property can be set only on computers running an operating system from the Windows Server 2003 family.

[Visual Basic]

The AllowCustomIPSecPolicyForL2TP property gets or sets a Boolean value that indicates whether the IPSec policy for L2TP can be customized.

Property AllowCustomIPSecPolicyForL2TP As Boolean

Property Value

Boolean value that indicates whether the IPSec policy for L2TP can be customized.

Remarks

This property is read/write.

This property can be set only on computers running an operating system from the Windows Server 2003 family. An attempt to set this property on a computer running a Windows 2000 Server operating system raises an E_FPC_VPN_IPSEC_PRESHARED_SECRET_NOT_SUPPORTED error, which can be intercepted by using an error handler.

Requirements

Server: Requires Windows Server 2003.
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

FPCVpnConfiguration