SynonymCollection.Create Method
Adds a keyword term to the synonym collection.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function Create ( _
term As String _
) As Synonym
'Usage
Dim instance As SynonymCollection
Dim term As String
Dim returnValue As Synonym
returnValue = instance.Create(term)
public Synonym Create(
string term
)
Parameters
- term
Type: System.String
A string specifying the keyword term for the synonym.
Return Value
Type: Microsoft.Office.Server.Search.Administration.Synonym
A Synonym object.