Export (0) Print
Expand All
Expand Minimize

SearchServiceApplication.GetScopeRowCount method

Returns the count of results that match a specified Search scope.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

public int GetScopeRowCount(
	string scopeName,
	Guid consumerId
)

Parameters

scopeName
Type: System.String

The name of the Search scope.

consumerId
Type: System.Guid

The ID of the site collection that is defined as a consumer of the Search scope.

Return value

Type: System.Int32
The count of the results matching the specified Search scope.

Implements

ISearchSiteAdministrationServiceApplication.GetScopeRowCount(String, Guid)

This method returns the count of results matching the specified Search scope for the specified site collection.

Community Additions

ADD
Show:
© 2014 Microsoft