Share via


BestBetCollection.AddBestBet Method (String, String, String, Uri)

Adds a best with the specified best bet name, teaser, teaser content type and Uri.

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, _
    teaser As String, _
    teaserContentType As String, _
    uri As Uri _
) As BestBet
'Usage
Dim instance As BestBetCollection
Dim name As String
Dim teaser As String
Dim teaserContentType As String
Dim uri As Uri
Dim returnValue As BestBet

returnValue = instance.AddBestBet(name, _
    teaser, teaserContentType, uri)
BestBet AddBestBet(
    string name,
    string teaser,
    string teaserContentType,
    Uri uri
)

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