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

  • consumerGpId
    Type: System.String

    The 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

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace