OleDbAdapter.Query Method
NOTE: This API is now obsolete.
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
'Declaration
<ObsoleteAttribute("Use the Lists web service instead.")> _
Public Function Query ( _
request As QueryRequest _
) As QueryResponse
'Usage
Dim instance As OleDbAdapter
Dim request As QueryRequest
Dim returnValue As QueryResponse
returnValue = instance.Query(request)
[ObsoleteAttribute("Use the Lists web service instead.")]
public QueryResponse Query(
QueryRequest request
)
Parameters
request
Type: Microsoft.SharePoint.Dsp.QueryRequestA 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.