RequestSource Property of the IFPCHTTPCompressionConfiguration Interface
The RequestSource property gets an FPCSelectionIPs object that specifies the complete set of source IP addresses to which compressed responses may be sent. 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_RequestSource(
IFPCSelectionIPs** ppRequestSource
);
Parameters
- ppRequestSource
Address of an interface pointer that on return points to an IFPCSelectionIPs interface that represents the complete set of source IP addresses to which compressed responses may be sent.
Return Value
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Visual Basic
Property RequestSource As FPCSelectionIPs
Property Value
Reference to an FPCSelectionIPs object that specifies the complete set of source IP addresses to which compressed responses may be sent.
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 responses may be sent to a specific client, Forefront TMG will send a compressed response to the client only in response to a request that contains an Accept-Encoding: gzip header.
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