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 keyword from the site collection with the specified keyword consumer group and the specified 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 SearchServiceApplicationProxy
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 keyword.
Implements
ISearchSiteAdministrationServiceApplication.GetSpecialTerm(String, String)
Exceptions
| Exception | Condition |
|---|---|
| SearchServiceApplicationFault | The special terms with the specified properties cannot be found in the Search administration database. |
| Exception | An error occurred during application execution. |
Remarks
The values of the term and consumerGroupId parameters must not be null .
See Also
Reference
SearchServiceApplicationProxy Class