Partager via


ISearchSiteAdministrationServiceApplication.GetSpecialTerm Method

Retrieves the keyword from the site collection in the keyword consumer group with the specified keyword term.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<OperationContractAttribute> _
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
Function GetSpecialTerm ( _
    term As String, _
    consumerGroupId As String _
) As Keyword
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim term As String
Dim consumerGroupId As String
Dim returnValue As Keyword

returnValue = instance.GetSpecialTerm(term, _
    consumerGroupId)
[OperationContractAttribute]
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
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.

Remarks

Implementing classes should ensure that the value of the term parameter must not be null .

See Also

Reference

ISearchSiteAdministrationServiceApplication Interface

ISearchSiteAdministrationServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace