Share via


ProfilesQueryControl.IssueQuery method (String, String, Int32, Int32)

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

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Protected Overrides 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 override int IssueQuery(
    string search,
    string groupName,
    int pageIndex,
    int pageSize
)

Parameters

  • search
    Type: System.String

    The search keywords to use in the query.

  • groupName
    Type: System.String

    The user, organization, or membership group against which to query.

Return value

Type: System.Int32
The number of profiles found by the query.

Remarks

This override calls the IssueQuery(String, String, String, String, Int32, Int32) method to execute the query using empty strings for the providerID and hierarchynodeID parameters.

See also

Reference

ProfilesQueryControl class

ProfilesQueryControl members

IssueQuery overload

Microsoft.SharePoint.Portal.WebControls namespace