Used to return information about the submit to host operation of a hosted InfoPath form template.
Assembly: Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)
Use the SubmitToHostConnection object from the Microsoft.Office.InfoPath namespace to perform actions not supported by rules or other declarative logic. For more information about creating a SubmitToHostAdapter data connection in an InfoPath form template, see Hosting the InfoPath Form Editing Environment in a Custom Web Form.
In the following example, properties of the object are used to populate text boxes in the Web page.