ExemptUserAgent class
SharePoint 2013
Represents a user agent, commonly a search bot, which can receive InfoPath forms instead of a Web page in response to an HTTP request.
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.Office.InfoPath.Server.Administration.ExemptUserAgent
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.Office.InfoPath.Server.Administration.ExemptUserAgent
Assembly: Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)
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.