SearchServiceApplication.AddNewBestBet 方法

添加SearchAdminDatabase新的最佳匹配。 适用于: Microsoft SharePoint Server 2010 搜索功能

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Sub AddNewBestBet ( _
    ByRef bestBet As BestBet, _
    specialTerm As Keyword, _
    order As Integer, _
    consumerGpId As String _
)
用法
Dim instance As SearchServiceApplication
Dim bestBet As BestBet
Dim specialTerm As Keyword
Dim order As Integer
Dim consumerGpId As String

instance.AddNewBestBet(bestBet, specialTerm, _
    order, consumerGpId)
public void AddNewBestBet(
    ref BestBet bestBet,
    Keyword specialTerm,
    int order,
    string consumerGpId
)

参数

  • consumerGpId
    类型:System.String

    最佳匹配使用者组的 ID。

实现

ISearchSiteAdministrationServiceApplication.AddNewBestBet(BestBet, Keyword, Int32, String)

备注

此方法将新创建的最佳匹配添加到SearchAdminDatabase

另请参阅

引用

SearchServiceApplication 类

SearchServiceApplication 成员

Microsoft.Office.Server.Search.Administration 命名空间