QueryResultBase.GetTotalResultRowNumber Method

The GetTotalResultRowNumber method of the QueryResultBase class gets the total number of rows in the result set.

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

Syntax

'Declaration
Protected Overrides Function GetTotalResultRowNumber As Integer
'Usage
Dim returnValue As Integer

returnValue = Me.GetTotalResultRowNumber()
protected override int GetTotalResultRowNumber()

Return Value

Type: System.Int32
An Int32 that equals the total number of rows in the result DataSet.

Remarks

The GetTotalResultRowNumber method gets the total number of rows in the result set. If the DataSet is null, this method returns 0. Override this method if your derived class needs to exclude results from the count.

See Also

Reference

QueryResultBase Class

QueryResultBase Members

Microsoft.SharePoint.Portal.WebControls Namespace