Share via


IFPCPrimaryRoute::RedirectHost property

Applies to: desktop apps only

The RedirectHost property gets the name of the host for redirecting requests from Web proxy clients.

This property is read-only.

Syntax

HRESULT get_RedirectHost(
  BSTR *pbstrHost
);
' Data type: String

Property RedirectHost( _
  ByVal pbstrHost As BSTR _
) As String

Property value

String that specifies the host for redirecting requests from Web proxy clients.

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. Its default value is an empty string. It can be set by calling the SetRedirectHostAndPorts method.

This property is applicable only if the RouteType property is set to fpcPrimaryRouteAlternate, which indicates that requests from Web proxy clients are redirected to a specified host.

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

FPCPrimaryRoute

 

 

Build date: 7/12/2010