Partager via


BestBetCollection.SetPosition, méthode (Microsoft.Office.Server.Search.Administration)

Updates the priority for a specified best bet.

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

Syntaxe

'Déclaration
Public Sub SetPosition ( _
    bb As BestBet, _
    position As Integer _
)
'Utilisation
Dim instance As BestBetCollection
Dim bb As BestBet
Dim position As Integer

instance.SetPosition(bb, position)
public void SetPosition (
    BestBet bb,
    int position
)

Paramètres

  • bb
    A BestBet object representing the best bet to update.
  • position
    A 32-bit integer that specifies a new position for the specified best bet.

Remarques

The position setting for a best bet represents the priority of the best bet within this collection. The priority determines the order in which the best bets appear in the best bets search results.

Voir aussi

Référence

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