Microsoft Internet Security and Acceleration Server 2004 SDK |
The PresharedKey property gets or sets the preshared key for L2TP connections.
HRESULT get_PresharedKey( BSTR* pbstrPresharedKey ); HRESULT put_PresharedKey( BSTR bstrPresharedKey );
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. By default, no string is defined.
The preshared key will be used only if the UsePresharedKey property is set to VARIANT_TRUE.
This property is accessible only on computers running an operating system from the Windows Server 2003 family.
The PresharedKey property gets or sets the preshared key for L2TP connections.
Property PresharedKey As String
This property is read/write. By default, no string is defined.
The preshared key will be used only if the UsePresharedKey property is set to True.
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.