IFPCPrimaryRoute::RedirectHostPort property

Applies to: desktop apps only

The RedirectHostPort property gets the port to use for redirecting requests from Web proxy clients to a specified host.

This property is read-only.

Syntax

HRESULT get_RedirectHostPort(
  long *plPort
);
' Data type: Long

Property RedirectHostPort( _
  ByVal plPort As long _
) As Long

Property value

A 32-bit integer that specifies the port number.

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 SetRedirectHostAndPorts method. Its range of permissible values is from 1 through 65535.

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