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