IFPCPrimaryRoute::RouteType property

Applies to: desktop apps only

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.

This property is read/write.

Syntax

HRESULT put_RouteType(
  FpcPrimaryRouteType RouteType
);

HRESULT get_RouteType(
  FpcPrimaryRouteType *pRouteType
);
' Data type: FpcPrimaryRouteType

Property RouteType( _
  ByVal RouteType As FpcPrimaryRouteType, _
  ByVal pRouteType As FpcPrimaryRouteType _
) 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.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

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

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