The RedirectHostPort property gets the port to use for redirecting requests from Web proxy clients to a specified host.
HRESULT get_RedirectHostPort( long* plPort );
Pointer to a variable that receives a 32-bit integer specifying the port number.
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Property RedirectHostPort As Long
A 32-bit integer that specifies the port number.
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.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.