ExemptUserAgent class

Represents a user agent, commonly a search bot, which can receive InfoPath forms instead of a Web page in response to an HTTP request.

Namespace:  Microsoft.Office.InfoPath.Server.Administration
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

<GuidAttribute("10196e7e-2590-4862-8a40-ce64bdd5c9ff")> _
Public NotInheritable Class ExemptUserAgent _
	Inherits SPPersistedObject _
	Implements IBackupRestoreConfiguration, IBackupRestore
Dim instance As ExemptUserAgent

The ExemptUserAgent object, if present in the ExemptUserAgentCollection collection, will allow a search bot or any other user agent to receive InfoPath forms instead of Web pages from InfoPath Forms Services. For search bots, this allows the information contained within InfoPath files to be indexed.

See the ExemptUserAgentCollection collection for an example.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.