Share via


RequestDestination Property of the IFPCHTTPCompressionConfiguration Interface

The RequestDestination property gets an FPCSelectionIPs object that specifies the complete set of destination IP addresses from which compressed content may be requested. Computers, computer sets, networks, network sets, subnets, and IP address ranges may be included in or excluded from this set of IP addresses.

C++

HRESULT get_RequestDestination(
    IFPCSelectionIPs** ppRequestDestination
);

Parameters

  • ppRequestDestination
    Address of an interface pointer that on return points to an IFPCSelectionIPs interface that represents the complete set of destination IP addresses from which compressed content may be requested.

Return Value

This property method returns S_OK if the call is successful; otherwise, it returns an error code.

Visual Basic

Property RequestDestination As FPCSelectionIPs

Property Value

Reference to an FPCSelectionIPs object that specifies the complete set of destination IP addresses from which compressed content may be requested.

Remarks

This property is read-only. It can be modified through the properties of the FPCSelectionIPs object retrieved (the IFPCSelectionIPs interface retrieved in C++).

This property is applicable only if the Enabled property is set to True (VARIANT_TRUE in C++).

If HTTP compression is enabled and this property indicates that compressed content should be requested from a specific Web server, Forefront TMG forwards Accept-Encoding headers that specify gzip encoding from clients to the Web server, or adds an Accept-Encoding: gzip header to requests that do not contain this header before forwarding them to the Web server. If HTTP compression is enabled, but this property indicates that compressed content should not be requested from the Web server, Forefront TMG deletes any Accept-Encoding header supplied by a client from requests before forwarding them to the Web server.

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

FPCHTTPCompressionConfiguration

Send comments about this topic to Microsoft

Build date: 6/30/2010