BestBetCollection.Create method

Creates a new best bet.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function Create ( _
    title As String, _
    description As String, _
    url As Uri _
) As BestBet
'Usage
Dim instance As BestBetCollection
Dim title As String
Dim description As String
Dim url As Uri
Dim returnValue As BestBet

returnValue = instance.Create(title, description, _
    url)
public BestBet Create(
    string title,
    string description,
    Uri url
)

Parameters

  • title
    Type: System.String

    A string specifying the best bet's title.

  • description
    Type: System.String

    A string specifying the description for the best bet.

  • url
    Type: System.Uri

    A System.Uri object representing the URL.

Return value

Type: Microsoft.Office.Server.Search.Administration.BestBet
A BestBet object.

See also

Reference

BestBetCollection class

BestBetCollection members

Microsoft.Office.Server.Search.Administration namespace