Share via


ISearchSiteAdministrationServiceApplication.GetBestBet method

Retrieves a Best Bet 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
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Function GetBestBet ( _
    url As Uri, _
    consumerGpId As String _
) As BestBet
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim url As Uri
Dim consumerGpId As String
Dim returnValue As BestBet

returnValue = instance.GetBestBet(url, _
    consumerGpId)
[OperationContractAttribute]
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
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
The Best Bet to be retrieved.

Remarks

Implementing classes should ensure that the value of the url parameter must not be null .

See also

Reference

ISearchSiteAdministrationServiceApplication interface

ISearchSiteAdministrationServiceApplication members

Microsoft.Office.Server.Search.Administration namespace