SearchServiceApplication.GetSynonym method

Retrieves the specified Synonym associated with the specified KeyWord.

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

public Synonym GetSynonym(
	string term,
	Keyword parentSpecialTerm
)

Parameters

term
Type: System.String

The term of the required Synonym.

parentSpecialTerm
Type: Microsoft.Office.Server.Search.Administration.Keyword

The specified KeyWord.

Implements

ISearchSiteAdministrationServiceApplication.GetSynonym(String, Keyword)

The value of the term parameter must not be null .

The value of the parentSpecialTerm parameter must not be null .

Show: