SearchServiceApplicationProxy.GetSpecialTerm method

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

  • consumerGroupId
    Type: System.String

    The 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

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace