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.
Adds a two-way synonym for the keyword.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Function AddSynonym ( _
synonymTerm As String _
) As Synonym
'Usage
Dim instance As Keyword
Dim synonymTerm As String
Dim returnValue As Synonym
returnValue = instance.AddSynonym(synonymTerm)
Synonym AddSynonym(
string synonymTerm
)
Parameters
synonymTerm
Type: System.StringThe term of the synonym to be added.
Return Value
Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.Synonym
A Synonym representing the added synonym.
Exceptions
| Exception | Condition |
|---|---|
| AdminException | if a synonym with this term/phrase already exists for this keyword. |
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace