SubmitToHostAdapter Object Members

InfoPath Developer Reference

Represents a connection to the host environment. The SubmitToHostAdapter object is a type of InfoPath data adapter that contains all the information necessary for submitting data to a hosting environment.

Methods

  Name Description
Bb230070.methods(en-us,office.12).gif Query The Query method is available for the SubmitToHostAdapter object but, because the SubmitToHostAdapter object is available for submitting data only, the method will always generate a run-time error when it is called on that object.
Bb230070.methods(en-us,office.12).gif Submit Executes the submit operation on the SubmitToHostAdapter adapter.

Properties

  Name Description
Bb230070.properties(en-us,office.12).gif Name A read-only property that returns the name of an SubmitToHostAdapter object. Read-only
Bb230070.properties(en-us,office.12).gif QueryAllowed A read-only property of type Boolean that always returns False, corresponding to the queryallowed attribute in the form definition file (.xsf). Read-only
Bb230070.properties(en-us,office.12).gif SubmitAllowed A read-only property of type Boolean that always returns True, corresponding to the submitAllowed attribute in the form definition file (.xsf). Read-only