Share via


AuthenticationMethod Property of the IFPCVpnNetworkIPSecSettings Interface

The AuthenticationMethod property gets or sets a value from the FpcVpnAuthenticationMethod enumerated type that specifies which IPsec authentication method is to be used.

C++

HRESULT put_AuthenticationMethod(
    FpcVpnAuthenticationMethod AuthenticationMethod
);
HRESULT get_AuthenticationMethod(
    FpcVpnAuthenticationMethod* pAuthenticationMethod
);

Parameters

  • AuthenticationMethod
    Value from the FpcVpnAuthenticationMethod enumerated type that specifies which IPsec authentication method is to be used.

  • pAuthenticationMethod
    Pointer to a value from the FpcVpnAuthenticationMethod enumerated type that is set on return to the value specifying the IPsec authentication method 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 AuthenticationMethod As FpcVpnAuthenticationMethod

Property Value

Value from the FpcVpnAuthenticationMethod enumerated type that specifies which IPsec authentication method is to be used.

Remarks

This property is read/write. Its default value is fpcVpnCertificate, which specifies IPsec authentication using a certificate.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCVpnNetworkIPSecSettings

Send comments about this topic to Microsoft

Build date: 6/30/2010