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
bestBet
Type: Microsoft.Office.Server.Search.Administration.BestBetThe newly created Best Bet.
specialTerm
Type: Microsoft.Office.Server.Search.Administration.KeywordThe specified keyword associated with the newly created Best Bet.
order
Type: System.Int32The order of the Best Bet.
consumerGpId
Type: System.StringThe 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