Export (0) Print
Expand All

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 sealed class ExemptUserAgent : SPPersistedObject, 
	IBackupRestoreConfiguration, IBackupRestore

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.

Community Additions

ADD
Show:
© 2014 Microsoft