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
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.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.