: QueryResultBase.IssueQuery (Método) (Microsoft.SharePoint.Portal.WebControls)
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.
Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)
Sintaxis
'Declaración
Protected Overrides Function IssueQuery ( _
strQuery As String, _
startRowIndex As Integer, _
endRowIndex As Integer _
) As Object
'Uso
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
)
Parámetros
- strQuery
Query string to execute.
- startRowIndex
Minimum row number to return. The default is 0.
- endRowIndex
Maximum row number to return.
Valor devuelto
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.
Comentarios
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.
Vea también
Referencia
QueryResultBase (Clase)
QueryResultBase (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)