Export (0) Print
Expand All
Expand Minimize

SearchServiceApplication.GetBestBetsCount method

Calculates the number of BestBet attributes for the specified keyword consumer group that match the specified filtering criteria.

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

public int GetBestBetsCount(
	BestBetFilter filter,
	string value,
	string consumerGpId
)

Parameters

filter
Type: Microsoft.Office.Server.Search.Administration.BestBetFilter

A filter type that specifies which attributes of the BestBet are applied.

value
Type: System.String

A string that is used for comparison when performing the filtering.

consumerGpId
Type: System.String

The ID of the keyword consumer group to which the BestBet attributes belong.

Return value

Type: System.Int32
The number of BestBet attributes.

Implements

ISearchSiteAdministrationServiceApplication.GetBestBetsCount(BestBetFilter, String, String)

The value of the value parameter must be set to null to calculate the number of all BestBet attributes for the specified keyword consumer group.

Community Additions

ADD
Show:
© 2014 Microsoft