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)

Syntax

'Declaration
Public Function GetSynonym ( _
    term As String, _
    parentSpecialTerm As Keyword _
) As Synonym
'Usage
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
)

Parameters

Return Value

Type: Microsoft.Office.Server.Search.Administration.Synonym
The synonym.

Implements

ISearchSiteAdministrationServiceApplication.GetSynonym(String, Keyword)

Remarks

The value of the term parameter must not be null .

The value of the parentSpecialTerm parameter must not be null .

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace