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.

Applies to