Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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