SubmitToHostAdapter.Query Method

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.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
Sub Query
'Usage
Dim instance As SubmitToHostAdapter

instance.Query()
void Query()

Remarks

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

See Also

Reference

SubmitToHostAdapter Interface

SubmitToHostAdapter Members

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace