SearchServiceApplication.GetSpecialTerm Method
Retrieves the Keyword from the SiteCollection given its keyword consumer group, and the keyword term.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetSpecialTerm ( _
term As String, _
consumerGroupId As String _
) As Keyword
'Usage
Dim instance As SearchServiceApplication
Dim term As String
Dim consumerGroupId As String
Dim returnValue As Keyword
returnValue = instance.GetSpecialTerm(term, _
consumerGroupId)
public Keyword GetSpecialTerm(
string term,
string consumerGroupId
)
Parameters
term
Type: System.StringThe term for the Keyword.
consumerGroupId
Type: System.StringThe ID of the Keyword consumer group.
Return Value
Type: Microsoft.Office.Server.Search.Administration.Keyword
The information about the Keyword.
Implements
ISearchSiteAdministrationServiceApplication.GetSpecialTerm(String, String)
Remarks
The value of the term parameter must not be null .
See Also
Reference
SearchServiceApplication Class