Share via


SearchServiceApplication.GetBestBetForSpecialTerm Method

Retrieves the information about a BestBet for the specified keyword consumer group, URL, and Keyword.

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

Syntax

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

returnValue = instance.GetBestBetForSpecialTerm(url, _
    parentSpecialTerm, consumerGpId)
public BestBet GetBestBetForSpecialTerm(
    Uri url,
    Keyword parentSpecialTerm,
    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 SearchKeyword.

Implements

ISearchSiteAdministrationServiceApplication.GetBestBetForSpecialTerm(Uri, Keyword, String)

Remarks

The value of the url parameter must not be null .

The value of the parentSpecialTerm parameter must not be null .

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace