Microsoft Internet Security and Acceleration Server 2004 SDK |
The UsePresharedKey property gets or sets a Boolean value that indicates whether a preshared key is to be used for authenticating L2TP connections.
HRESULT get_UsePresharedKey( VARIANT_BOOL* pfUsePresharedKey ); HRESULT put_UsePresharedKey( VARIANT_BOOL fUsePresharedKey );
On computers running a Windows 2000 Server operating system, these property methods always return E_FPC_VPN_IPSEC_PRESHARED_SECRET_NOT_SUPPORTED.
This property is read/write. Its default value is VARIANT_FALSE.
The preshared key to be used is specified by the PresharedKey property.
This property is accessible only on computers running an operating system from the Windows Server 2003 family.
The UsePresharedKey property gets or sets a Boolean value that indicates whether a preshared key is to be used for authenticating L2TP connections.
Property UsePresharedKey As Boolean
This property is read/write. Its default value is False.
The preshared key to be used is specified by the PresharedKey property.
This property is accessible only on computers running an operating system from the Windows Server 2003 family. An attempt to set or retrieve 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.
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.