Share via


BestBetCollection.SetPosition Method

Updates the priority for a specified best bet.

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

Syntax

'Declaration
Public Sub SetPosition ( _
    bb As BestBet, _
    position As Integer _
)
'Usage
Dim instance As BestBetCollection
Dim bb As BestBet
Dim position As Integer

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

Parameters

  • position
    Type: System.Int32
    A 32-bit integer that specifies a new position for the specified best bet.

Remarks

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.

See Also

Reference

BestBetCollection Class

BestBetCollection Members

Microsoft.Office.Server.Search.Administration Namespace