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

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.

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.

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 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.

See Also

FPCPrimaryRoute


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

508 Resource Limit Is Reached

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.