Share via


BDCAdapter.Query method

Retrieves data from the associated data connection.

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 BDCAdapter

instance.Query()
void Query()

Remarks

The Query() method fails if the QueryAllowed property is false.

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

BDCAdapter interface

BDCAdapter members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace