SearchServiceApplicationProxy.AddBestBetLink method

Adds an association between an existing Best Bet and a keyword to the SearchAdminDatabase. Applies to: Microsoft SharePoint Server 2010 search

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

Syntax

'Declaration
Public Sub AddBestBetLink ( _
    bestBet As BestBet, _
    parentSpecialTerm As Keyword, _
    order As Integer _
)
'Usage
Dim instance As SearchServiceApplicationProxy
Dim bestBet As BestBet
Dim parentSpecialTerm As Keyword
Dim order As Integer

instance.AddBestBetLink(bestBet, parentSpecialTerm, _
    order)
public void AddBestBetLink(
    BestBet bestBet,
    Keyword parentSpecialTerm,
    int order
)

Parameters

Implements

ISearchSiteAdministrationServiceApplication.AddBestBetLink(BestBet, Keyword, Int32)

Exceptions

Exception Condition
ArgumentException

A duplicate bestBet with the specified order already exists in the SearchAdminDatabase.

Exception

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

Remarks

The bestBet parameter must exist in the SearchAdminDatabase.

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace