The UnsupportedUserAgents property gets an FPCUserAgents collection that contains the list of User-Agent strings for which a compressed response will not be requested.
HRESULT get_UnsupportedUserAgents( IFPCUserAgents** ppUnsupportedUserAgents );
Address of an interface pointer that on return points to an IFPCUserAgents interface that represents the list of User-Agent strings for which a compressed response will not be requested.
This property method returns S_OK if the call is successful; otherwise, it returns an error code.
Property UnsupportedUserAgents As FPCUserAgents
Reference to an FPCUserAgents collection that contains the list of User-Agent strings for which a compressed response will not be requested.
' Create the root object. Dim root ' The FPCLib.FPC root object Set root = CreateObject("FPC.Root") ' Declare the other objects needed. Dim isaArray ' An FPCArray object Dim userAgents ' An FPCUserAgents collection Dim userAgent ' A String ' Get references to the array object ' and the collection of User-Agent strings. Set isaArray = root.GetContainingArray() With isaArray.ArrayPolicy.WebProxy.HTTPCompressionConfiguration Set userAgents = .UnsupportedUserAgents End With ' Display the unsupported User-Agent strings. For Each userAgent In userAgents WScript.Echo userAgent Next
This property is read-only. User-Agent strings can be added or removed by calling the methods of the FPCUserAgents collection retrieved (the IFPCUserAgents interface retrieved in C++).
The User-Agent strings stored in this property may include wildcard characters (*). A User-Agent string that begins and ends with a wildcard character represents any User-Agent string that contains the substring between the wildcard characters.
This property cannot be accessed through Forefront TMG Management.
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. |
FPCHTTPCompressionConfiguration
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.