Expand Minimize
This topic has not yet been rated - Rate this topic

SearchServiceApplicationProxy.GetBestBet method

Gets 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)
public BestBet GetBestBet(
	Uri url,
	string consumerGpId
)

Parameters

url
Type: System.Uri
The URL of the Best Bet.
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)
ExceptionCondition
ArgumentException

The Best Bet with the specified properties cannot be found in the Search administration database.

Exception

An error, such as a SearchServiceApplicationFault, occurred during application execution.

The value of the url parameter must not be null .

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.