Partager via


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

Creates a keyword.

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 ( _
    term As String, _
    startDate As DateTime _
) As Keyword
'Utilisation
Dim instance As KeywordCollection
Dim term As String
Dim startDate As DateTime
Dim returnValue As Keyword

returnValue = instance.Create(term, startDate)
public Keyword Create (
    string term,
    DateTime startDate
)

Paramètres

  • term
    A string specifying the keyword term.
  • startDate
    A System.Date object representing the keyword's start date.

Valeur de retour

A Keyword object.

Voir aussi

Référence

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