共用方式為


PickerQueryControlBase.IssueQuery Method (String, String, Int32, Int32)

Issues a query with the specified search type, group, page, and page size.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overridable Function IssueQuery ( _
    search As String, _
    groupName As String, _
    pageIndex As Integer, _
    pageSize As Integer _
) As Integer
'Usage
Dim search As String
Dim groupName As String
Dim pageIndex As Integer
Dim pageSize As Integer
Dim returnValue As Integer

returnValue = Me.IssueQuery(search, _
    groupName, pageIndex, pageSize)
protected virtual int IssueQuery(
    string search,
    string groupName,
    int pageIndex,
    int pageSize
)

Parameters

  • groupName
    Type: System.String

    The group against which to query.

  • pageSize
    Type: System.Int32

    The number of records per page.

Return Value

Type: System.Int32
A data table that contains the rows for all the results.

Remarks

This method is expected to be overridden by child classes. The base class implementation is empty and always returns zero.

See Also

Reference

PickerQueryControlBase Class

PickerQueryControlBase Members

IssueQuery Overload

Microsoft.SharePoint.WebControls Namespace