다음을 통해 공유


ISearchSiteAdministrationServiceApplication.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
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Function GetSynonym ( _
    term As String, _
    parentSpecialTerm As Keyword _
) As Synonym
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim term As String
Dim parentSpecialTerm As Keyword
Dim returnValue As Synonym

returnValue = instance.GetSynonym(term, _
    parentSpecialTerm)
[OperationContractAttribute]
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
Synonym GetSynonym(
    string term,
    Keyword parentSpecialTerm
)

Parameters

  • term
    Type: System.String

    The term of the synonym to be retrieved.

Return Value

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

Remarks

Implementing classes should ensure that the values of the term parameter and the parentSpecialTerm parameter must not be null .

See Also

Reference

ISearchSiteAdministrationServiceApplication Interface

ISearchSiteAdministrationServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace