Partager via


ISearchSiteAdministrationServiceApplication.AddBestBetLink Method

Adds an association between an existing Best Bet and a keyword to the database.

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

Syntax

'Declaration
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Sub AddBestBetLink ( _
    bestBet As BestBet, _
    parentSpecialTerm As Keyword, _
    order As Integer _
)
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim bestBet As BestBet
Dim parentSpecialTerm As Keyword
Dim order As Integer

instance.AddBestBetLink(bestBet, parentSpecialTerm, _
    order)
[OperationContractAttribute]
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
void AddBestBetLink(
    BestBet bestBet,
    Keyword parentSpecialTerm,
    int order
)

Parameters

Remarks

Implementing classes should ensure that the bestBet parameter exists in the database.

See Also

Reference

ISearchSiteAdministrationServiceApplication Interface

ISearchSiteAdministrationServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace