SearchServiceApplicationProxy.GetSynonymsCountForSpecialTerm method
Retrieves the number of synonyms that are 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 GetSynonymsCountForSpecialTerm ( _
parentSpecialTerm As Keyword _
) As Integer
'Usage
Dim instance As SearchServiceApplicationProxy
Dim parentSpecialTerm As Keyword
Dim returnValue As Integer
returnValue = instance.GetSynonymsCountForSpecialTerm(parentSpecialTerm)
public int GetSynonymsCountForSpecialTerm(
Keyword parentSpecialTerm
)
Parameters
parentSpecialTerm
Type: Microsoft.Office.Server.Search.Administration.KeywordThe specified keyword.
Return value
Type: System.Int32
The number of synonyms that are associated with the specified keyword.
Implements
ISearchSiteAdministrationServiceApplication.GetSynonymsCountForSpecialTerm(Keyword)
Exceptions
Exception | Condition |
---|---|
Exception | An error occurred during application execution. |
Remarks
The value of the parentSpecialTerm must not be null .
See also
Reference
SearchServiceApplicationProxy class