次の方法で共有


FPCUserAgents collection

Applies to: desktop apps only

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.

Ff826801.bkbutton(en-us,VS.85).png Click here to see the Forefront TMG object hierarchy.

Members

The FPCUserAgents collection has these types of members:

  • Methods
  • Properties

Methods

The FPCUserAgents collection has these 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 these properties.

Property Access type Description

_NewEnum

Read-only

Gets an enumerator object for the collection.

Count

Read-only

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

 

Interfaces for C++ Programming

This collection implements the IFPCUserAgents interface.

Requirements

Minimum supported client

Windows Vista, None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

See also

COM Objects

 

 

Build date: 7/12/2010