IFPCConnectivityVerifier2::HostHeader property

Applies to: desktop apps only

The HostHeader property gets the alternative Host header to be used in HTTP GET requests sent by the connectivity verifier.

This property is read-only.

Syntax

HRESULT get_HostHeader(
  BSTR *pbstrHostHeader
);
' Data type: String

Property HostHeader( _
  ByVal pbstrHostHeader As BSTR _
) As String

Property value

String that specifies the alternative Host header to be used in HTTP GET requests sent by the connectivity verifier.

Error codes

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

This property is read-only. It can be set by calling the SetHTTPConnectivityRequest method. Its default value is an empty string.

This property is relevant only if the RequestType parameter is set to fpcHttpConnect.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCConnectivityVerifier

 

 

Build date: 7/12/2010