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)
Syntax
'Declaration
Public Function GetFilteredBestBets ( _
filter As BestBetFilter, _
value As String _
) As BestBetCollection
'Usage
Dim instance As Keywords
Dim filter As BestBetFilter
Dim value As String
Dim returnValue As BestBetCollection
returnValue = instance.GetFilteredBestBets(filter, _
value)
public BestBetCollection GetFilteredBestBets(
BestBetFilter filter,
string value
)
Parameters
- filter
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.
- value
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.