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
bestBet
Type: Microsoft.Office.Server.Search.Administration.BestBetThe pre-existing Best Bet.
parentSpecialTerm
Type: Microsoft.Office.Server.Search.Administration.KeywordThe target keyword.
order
Type: System.Int32The order of the Best Bet.
Remarks
Implementing classes should ensure that the bestBet parameter exists in the database.
See also
Reference
ISearchSiteAdministrationServiceApplication interface