다음을 통해 공유


SearchServiceApplication.AddNewBestBet Method

Adds a new Best Bet for the SearchAdminDatabase.

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

Syntax

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

Parameters

  • consumerGpId
    Type: System.String

    The ID of the consumer group for the Best Bet.

Implements

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

Remarks

This method adds a newly created Best Bet to the SearchAdminDatabase.

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace