ISearchSiteAdministrationServiceApplication.AddNewBestBet 方法

向数据库中添加新指定的关键字最佳匹配。

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

语法

声明
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Sub AddNewBestBet ( _
    ByRef bestBet As BestBet, _
    specialTerm As Keyword, _
    order As Integer, _
    consumerGpId As String _
)
用法
Dim instance As ISearchSiteAdministrationServiceApplication
Dim bestBet As BestBet
Dim specialTerm As Keyword
Dim order As Integer
Dim consumerGpId As String

instance.AddNewBestBet(bestBet, specialTerm, _
    order, consumerGpId)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
void AddNewBestBet(
    ref BestBet bestBet,
    Keyword specialTerm,
    int order,
    string consumerGpId
)

参数

  • consumerGpId
    类型:System.String

    最佳匹配使用者组 ID。

备注

此方法向数据库中添加新创建的指定的关键字最佳匹配。

另请参阅

引用

ISearchSiteAdministrationServiceApplication 接口

ISearchSiteAdministrationServiceApplication 成员

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