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.StringThe term of the synonym to be retrieved.
parentSpecialTerm
Type: Microsoft.Office.Server.Search.Administration.KeywordThe specified keyword.
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