Share via


HWSAdapter.Query method

The Query method is available for the HWSAdapterObject but, because the HWSAdapter 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 HWSAdapter

instance.Query()
void Query()

Remarks

Important

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

HWSAdapter interface

HWSAdapter members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace