Share via


ISearchSiteAdministrationServiceApplication.AddNewBestBet method

Adds a new Best Bet for the specified keyword to the database.

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

Syntax

'Declaration
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Sub AddNewBestBet ( _
    ByRef bestBet As BestBet, _
    specialTerm As Keyword, _
    order As Integer, _
    consumerGpId As String _
)
'Usage
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
)

Parameters

  • consumerGpId
    Type: System.String

    The consumer group ID for the Best Bet.

Remarks

This method adds the newly created Best Bet for the specified keyword to the database.

See also

Reference

ISearchSiteAdministrationServiceApplication interface

ISearchSiteAdministrationServiceApplication members

Microsoft.Office.Server.Search.Administration namespace