다음을 통해 공유


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