FPCUserAgents Collection

The FPCUserAgents collection holds a set of User-Agent strings that may be present in requests sent to Web servers.

A User-Agent string may contain 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.

The FPCUserAgents collection is accessed through the UnsupportedUserAgents property of an FPCHTTPCompressionConfiguration object.

Click here to see the Forefront TMG object hierarchy.

Methods

The FPCUserAgents collection defines the following methods.

Method Description

Add

Adds a new User-Agent string to the collection.

Item

Retrieves the requested User-Agent string from the collection.

Refresh

Reads the values of all the properties of the collection and its elements from persistent storage, discarding any changes that were not saved.

Remove

Removes the specified User-Agent string from the collection.

Save

Writes the current values of all the properties of the collection and its elements to persistent storage.

Properties

The FPCUserAgents collection defines the following properties.

Property Description

_NewEnum

Gets an enumerator object for the collection.

Count

Gets the number of User-Agent strings in the collection.

Interfaces for C++ Programming

This collection implements the IFPCUserAgents 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.