다음을 통해 공유


SearchServiceApplication.AddSynonym Method

Adds a synonym for the specified keyword to the SearchAdminDatabase.

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

Syntax

'Declaration
Public Sub AddSynonym ( _
    syn As Synonym, _
    parentSpecialTerm As Keyword _
)
'Usage
Dim instance As SearchServiceApplication
Dim syn As Synonym
Dim parentSpecialTerm As Keyword

instance.AddSynonym(syn, parentSpecialTerm)
public void AddSynonym(
    Synonym syn,
    Keyword parentSpecialTerm
)

Parameters

Implements

ISearchSiteAdministrationServiceApplication.AddSynonym(Synonym, Keyword)

Remarks

This method adds a synonym for the specified keyword to the SearchAdminDatabase.

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace