OleDbAdapter.Query Method
Executes a query expressed as a predefined request object.
Namespace: Microsoft.SharePoint.Dsp.OleDb
Assembly: Microsoft.SharePoint.Dsp.OleDb (in Microsoft.SharePoint.Dsp.OleDb.dll)
Syntax
Public Function Query ( _
request As QueryRequest _
) As QueryResponse
Dim instance As OleDbAdapter
Dim request As QueryRequest
Dim returnValue As QueryResponse
returnValue = instance.Query(request)
public QueryResponse Query(
QueryRequest request
)
Parameters
- request
Type: Microsoft.SharePoint.Dsp.QueryRequest
A QueryRequest object that expresses a query in DSPQ (data retrieval service query) or Pass-Through format.
Return Value
Type: Microsoft.SharePoint.Dsp.QueryResponse
A QueryResponse object that contains the data in response to the request query.
Implements
IDspAdapter.Query(QueryRequest)
Remarks
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.