RouteType Property of the IFPCPrimaryRoute Interface
The RouteType property gets or sets a value from the FpcPrimaryRouteType enumerated type that specifies whether requests from Web proxy clients are sent directly to the requested destination, to an upstream proxy server, or to a specified host.
C++
HRESULT put_RouteType(
FpcPrimaryRouteType RouteType
);
HRESULT get_RouteType(
FpcPrimaryRouteType* pRouteType
);
Parameters
RouteType
Value from the FpcPrimaryRouteType enumerated type that specifies whether requests from Web proxy clients are sent directly to the requested destination, to an upstream proxy server, or to a specified host.pRouteType
Pointer to a variable that on return receives a value from the FpcPrimaryRouteType enumerated type specifying whether requests from Web proxy clients are sent directly to the requested destination, to an upstream proxy server, or to a specified host.
Return Value
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Visual Basic
Property RouteType As FpcPrimaryRouteType
Property Value
Value from the FpcPrimaryRouteType enumerated type that specifies whether requests from Web proxy clients are sent directly to the requested destination, to an upstream proxy server, or to a specified host.
Remarks
This property is read/write. Its default value is fpcPrimaryRouteDirect, which indicates that requests from Web proxy clients are sent directly to the requested destination.
Requirements
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
IDL | Declared in Msfpccom.idl. |
DLL | Requires Msfpccom.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010