DataObject.Query Method
Executes the query operation on the data adapter associated with the DataSourceObject object, and inserts the returned XML in the associated data source (XML DOM).
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 DataObject
instance.Query()
void Query()
Remarks
The Query method can be used to refresh the data contained in the XML DOM that is associated with a DataObject object.
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.