ISearchSiteAdministrationServiceApplication.AddNewBestBet method
Adds a new Best Bet for the specified keyword to the database.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Sub AddNewBestBet ( _
ByRef bestBet As BestBet, _
specialTerm As Keyword, _
order As Integer, _
consumerGpId As String _
)
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim bestBet As BestBet
Dim specialTerm As Keyword
Dim order As Integer
Dim consumerGpId As String
instance.AddNewBestBet(bestBet, specialTerm, _
order, consumerGpId)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
void AddNewBestBet(
ref BestBet bestBet,
Keyword specialTerm,
int order,
string consumerGpId
)
Parameters
bestBet
Type: Microsoft.Office.Server.Search.Administration.BestBetThe newly created Best Bet.
specialTerm
Type: Microsoft.Office.Server.Search.Administration.KeywordThe target keyword for the Best Bet.
order
Type: System.Int32The order of the Best Bet.
consumerGpId
Type: System.StringThe consumer group ID for the Best Bet.
Remarks
This method adds the newly created Best Bet for the specified keyword to the database.
See also
Reference
ISearchSiteAdministrationServiceApplication interface