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 |
---|---|
Adds a new User-Agent string to the collection. |
|
Retrieves the requested User-Agent string from the collection. |
|
Reads the values of all the properties of the collection and its elements from persistent storage, discarding any changes that were not saved. |
|
Removes the specified User-Agent string from the collection. |
|
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 |
---|---|
Gets an enumerator object for the collection. |
|
Gets the number of User-Agent strings in the collection. |
Interfaces for C++ Programming
This collection implements the IFPCUserAgents interface.
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. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010