FPCUserAgents Collection
The FPCUserAgents collection holds a set of User-Agent strings that may be present in requests sent to Web servers. (This collection is introduced in ISA Server 2006.)
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 ISA Server 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 has 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 XP. |
|---|---|
| Server | Requires Windows Server 2003. |
| Version | Requires Internet Security and Acceleration Server 2006. |
| IDL | Declared in Msfpccom.idl. |