QueryResultBase.IssueQuery Method
The IssueQuery method of the QueryResultBase class executes the specified query. Returns a unique identifier for the query in the case of an asychronous query. Returns a DataSet with the query results if the query is executed without errors; otherwise, it returns null.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Protected Overrides Function IssueQuery ( _
strQuery As String, _
startRowIndex As Integer, _
endRowIndex As Integer _
) As Object
'Usage
Dim strQuery As String
Dim startRowIndex As Integer
Dim endRowIndex As Integer
Dim returnValue As Object
returnValue = Me.IssueQuery(strQuery, _
startRowIndex, endRowIndex)
protected override Object IssueQuery(
string strQuery,
int startRowIndex,
int endRowIndex
)
Parameters
- strQuery
Type: System.String
Query string to execute.
- startRowIndex
Type: System.Int32
Minimum row number to return. The default is 0.
- endRowIndex
Type: System.Int32
Maximum row number to return.
Return Value
Type: System.Object
An object that represents the unique identifier for this query if you specify an asynchronous query. This object can be cast to a DataSet object that contains the result set. The object is null if the query encountered execution errors.
Remarks
The IssueQuery method uses a QueryProvider object to execute the specified query. The query is executed by using the client locale of the Web browser, if available. If the client locale is not available, the query is executed by using the locale of the current portal site.