Query Method

The Query method of the OleDbAdapter class executes a query expressed as a predefined request object.


request A Microsoft.SharePoint.Dsp.QueryRequest object that expresses a query in DSPQ (data retrieval service query) or Pass-Through format.

Return Value

A Microsoft.SharePoint.Dsp.QueryResponse object that contains the data in response to the request query.


Before calling the Query method of the OleDbAdapter class, the caller needs to set the Authentication, Request, Versions, and optionally the Connection and LocalClient properties of the IDSPAdapter interface.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security