Partager via


BestBetCollection.Create, méthode (Microsoft.Office.Server.Search.Administration)

Creates a new best bet.

Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)

Syntaxe

'Déclaration
Public Function Create ( _
    title As String, _
    description As String, _
    url As Uri _
) As BestBet
'Utilisation
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
)

Paramètres

  • title
    A string specifying the best bet's title.
  • description
    A string specifying the description for the best bet.
  • url
    A System.Uri object representing the URL.

Valeur de retour

A BestBet object.

Voir aussi

Référence

BestBetCollection, classe
Membres BestBetCollection
Microsoft.Office.Server.Search.Administration, espace de noms