Share via


IFPCPrimaryRoute::RouteServerPort property

Applies to: desktop apps only

The RouteServerPort property gets the port to use for routing requests from Web proxy clients to an upstream proxy server on the primary route.

This property is read-only.

Syntax

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

Property RouteServerPort( _
  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 SetServerAndPort method. Its range of permissible values is from 1 through 65535.

This property is applicable only if the RouteType property is set to fpcPrimaryRouteUpstream, which indicates that requests from Web proxy clients are routed to an upstream proxy server.

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