SearchServiceApplication.GetBestBet method

Retrieves a BestBet for the specified URL and keyword consumer group.

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

Syntax

'Declaration
Public Function GetBestBet ( _
    url As Uri, _
    consumerGpId As String _
) As BestBet
'Usage
Dim instance As SearchServiceApplication
Dim url As Uri
Dim consumerGpId As String
Dim returnValue As BestBet

returnValue = instance.GetBestBet(url, _
    consumerGpId)
public BestBet GetBestBet(
    Uri url,
    string consumerGpId
)

Parameters

  • consumerGpId
    Type: System.String

    The ID of the keyword consumer group.

Return value

Type: Microsoft.Office.Server.Search.Administration.BestBet
A Best Bet for the Keyword.

Implements

ISearchSiteAdministrationServiceApplication.GetBestBet(Uri, String)

Remarks

The value of the url parameter must not be null .

See also

Reference

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace