SearchServiceApplication.GetSynonym 方法

检索与指定的KeyWord指定的Synonym

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Function GetSynonym ( _
    term As String, _
    parentSpecialTerm As Keyword _
) As Synonym
用法
Dim instance As SearchServiceApplication
Dim term As String
Dim parentSpecialTerm As Keyword
Dim returnValue As Synonym

returnValue = instance.GetSynonym(term, _
    parentSpecialTerm)
public Synonym GetSynonym(
    string term,
    Keyword parentSpecialTerm
)

参数

返回值

类型:Microsoft.Office.Server.Search.Administration.Synonym
同义词。

实现

ISearchSiteAdministrationServiceApplication.GetSynonym(String, Keyword)

备注

术语参数的值必须不 null 。

ParentSpecialTerm参数的值必须不 null 。

另请参阅

引用

SearchServiceApplication 类

SearchServiceApplication 成员

Microsoft.Office.Server.Search.Administration 命名空间