KeywordCollection.Create 方法 (Microsoft.Office.Server.Search.Administration)

Creates a keyword.

命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

声明
Public Function Create ( _
    term As String, _
    startDate As DateTime _
) As Keyword
用法
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
)

参数

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

返回值

A Keyword object.

另请参阅

参考

KeywordCollection 类
KeywordCollection 成员
Microsoft.Office.Server.Search.Administration 命名空间