Partager via


Keywords.GetFilteredBestBets, méthode (Microsoft.Office.Server.Search.Administration)

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

Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)

Syntaxe

'Déclaration
Public Function GetFilteredBestBets ( _
    filter As BestBetFilter, _
    value As String _
) As BestBetCollection
'Utilisation
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
)

Paramètres

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

Valeur de retour

A BestBetCollection object representing the collection of best bets from the site that match the specified filter and value.

Voir aussi

Référence

Keywords, classe
Membres Keywords
Microsoft.Office.Server.Search.Administration, espace de noms