Edit

Share via


WebServiceAdapter2.Query Method

Definition

Executes the query operation on the adapter, by invoking the specified Web method on the Web service, and inserting the returned XML under the dataFields node of the associated data source.

public:
 void Query();
public void Query ();
abstract member Query : unit -> unit
Public Sub Query ()

Remarks

The Query method fails if the QueryAllowed property of the WebServiceAdapterObject object is false.

Note: An ADO.NET DataSet cannot be used as a query parameter for the WebServiceAdapterObject object or any other data adapter.

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.

Applies to