Keywords.GetFilteredBestBets method

Returns all best bets that match the specified filter and value for the site associated with this instance of the Keywords class.

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

public BestBetCollection GetFilteredBestBets(
	BestBetFilter filter,
	string value


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

A value from the BestBetFilter enumeration specifying the best bet property value to filter the specified value against.

Type: System.String

A string specifying the value to match against the best bet filter.

Return value

Type: Microsoft.Office.Server.Search.Administration.BestBetCollection
A BestBetCollection object representing the collection of best bets from the site that match the specified filter and value.