FPCPrimaryRoute Object

The FPCPrimaryRoute object represents the primary route used to route requests from Web proxy clients. The primary route can be direct to the requested destination, it can include an upstream proxy server, or it can redirect Web proxy client requests to a specified host. If the upstream proxy server on the primary route is a member of an array with two or more members, the Web requests can be directed to other members of its array.

This object is accessed through the PrimaryRoute property of an FPCRoutingRule object.

Click here to see the Forefront TMG object hierarchy.

Methods

The FPCPrimaryRoute object defines the following methods.

Method Description

Refresh

Recursively reads all of the properties of the object and of its subobjects from persistent storage, overwriting any changes made after the last call to the Save method.

Save

Recursively writes the current values of all properties of the object and its subobjects to persistent storage.

SetAutoPollConfig

Sets the configuration for automatic polling of the upstream proxy server on the primary route for information about the availability of upstream array members.

SetRedirectHostAndPorts

Sets the name of the host for redirecting requests from Web proxy clients and the ports to use.

SetServerAndPort

Sets the name of the upstream proxy server on the primary route and the ports to use.

Properties

The FPCPrimaryRoute object defines the following properties.

Property Description

AuthenticationEnabled

Gets or sets a Boolean value that indicates whether credentials will be sent for authentication to an upstream proxy server on the primary route.

AuthenticationType

Gets or sets a value from the FpcAuthType enumerated type that specifies the type of authentication to use for establishing a connection with an upstream proxy server on the primary route.

AutomaticPollConfig

Gets a Boolean value that indicates whether polling of the upstream server for information about the availability of upstream array members on the primary route is enabled.

BackupRoute

Gets an FPCBackupRoute object that represents the backup route, which is used to route Web proxy client requests when the upstream proxy server on the primary route is unavailable.

Credentials

Gets an FPCCredentials object that represents the credentials to be supplied by the Forefront TMG computer for authenticating a connection to an upstream proxy server on the primary route.

EnableAutoDial

Gets or sets a Boolean value that indicates whether automatic dialing is enabled.

PollAtURL

Gets the URL at which to poll for information about the availability of upstream array members on the primary route. This property is valid only if the AutomaticPollConfig property is set to True.

RedirectHost

Gets the name of the host for redirecting requests from Web proxy clients.

RedirectHostPort

Gets the port to use for redirecting requests from Web proxy clients to a specified host.

RedirectHostSSLPort

Gets the the port to use for redirecting HTTPS requests from Web proxy clients to a specified host.

RouteServerName

Gets the name of the upstream proxy server on the primary route.

RouteServerPort

Gets the port to use for routing requests from Web proxy clients to an upstream proxy server on the primary route.

RouteServerSSLPort

Gets the port to use for routing HTTPS requests from Web proxy clients to an upstream proxy server on the primary route.

RouteType

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.

Interfaces for C++ Programming

This object implements the IFPCPrimaryRoute interface.

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.

See Also

COM Objects


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.