BestBetCollection.SetPosition 方法 (Microsoft.Office.Server.Search.Administration)

Updates the priority for a specified best bet.

命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

声明
Public Sub SetPosition ( _
    bb As BestBet, _
    position As Integer _
)
用法
Dim instance As BestBetCollection
Dim bb As BestBet
Dim position As Integer

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

参数

  • 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.

备注

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.

另请参阅

参考

BestBetCollection 类
BestBetCollection 成员
Microsoft.Office.Server.Search.Administration 命名空间