Share via


BestBetCollection.AddBestBet Method (String, Uri, Context)

Adds a best with the specified best bet name and Uri 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, _
    uri As Uri, _
    cx As Context _
) As BestBet
'Usage
Dim instance As BestBetCollection
Dim name As String
Dim uri As Uri
Dim cx As Context
Dim returnValue As BestBet

returnValue = instance.AddBestBet(name, _
    uri, cx)
BestBet AddBestBet(
    string name,
    Uri uri,
    Context cx
)

Parameters

Return Value

Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.BestBet
A BestBet object representing the added best bet.

See Also

Reference

BestBetCollection Interface

BestBetCollection Members

AddBestBet Overload

Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace

BestBet