SearchServiceApplicationProxy.SetBestBetInfo Method
Updates the information about the specified Best Bet.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub SetBestBetInfo ( _
bestBet As BestBet, _
consumerGpId As String _
)
'Usage
Dim instance As SearchServiceApplicationProxy
Dim bestBet As BestBet
Dim consumerGpId As String
instance.SetBestBetInfo(bestBet, consumerGpId)
public void SetBestBetInfo(
BestBet bestBet,
string consumerGpId
)
Parameters
bestBet
Type: Microsoft.Office.Server.Search.Administration.BestBetThe Best Bet to update.
consumerGpId
Type: System.StringThe ID of the keyword consumer group for the Best Bet.
Implements
ISearchSiteAdministrationServiceApplication.SetBestBetInfo(BestBet, String)
Exceptions
Exception | Condition |
---|---|
Exception | An error occurred during application execution. |
Remarks
This method updates the information about the specified Best Bet with the specified keyword consumer group.
See Also
Reference
SearchServiceApplicationProxy Class