SearchServiceApplicationProxy.GetBestBet method
SharePoint 2013
Gets a Best Bet for the specified URL and keyword consumer group.
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Parameters
- url
- Type: System.Uri
The URL of the Best Bet.
- consumerGpId
- Type: System.String
The ID of the keyword consumer group.
Implements
ISearchSiteAdministrationServiceApplication.GetBestBet(Uri, String)| Exception | Condition |
|---|---|
| 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. |