BestBetCollection.AddBestBet Method (String, Context)
Adds a best with the specified best bet name and attach it to the specified context.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Function AddBestBet ( _
name As String, _
cx As Context _
) As BestBet
'Usage
Dim instance As BestBetCollection
Dim name As String
Dim cx As Context
Dim returnValue As BestBet
returnValue = instance.AddBestBet(name, _
cx)
BestBet AddBestBet(
string name,
Context cx
)
Parameters
name
Type: System.StringThe name of the best bet
cx
Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.ContextThe context to which the best bet is to be attached.
Return Value
Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.BestBet
A BestBet object representing the added best bet.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace