SearchServiceApplicationProxy.SetSpecialTermInfo method

Updates the information about the specified keyword.

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

Syntax

'Declaration
Public Sub SetSpecialTermInfo ( _
    term As Keyword, _
    consumerGpId As String _
)
'Usage
Dim instance As SearchServiceApplicationProxy
Dim term As Keyword
Dim consumerGpId As String

instance.SetSpecialTermInfo(term, consumerGpId)
public void SetSpecialTermInfo(
    Keyword term,
    string consumerGpId
)

Parameters

  • consumerGpId
    Type: System.String

    The ID of the keyword consumer group.

Implements

ISearchSiteAdministrationServiceApplication.SetSpecialTermInfo(Keyword, String)

Exceptions

Exception Condition
ArgumentException

A duplicate special term already exists in the Search administration database.

Exception

An error, such as a SearchServiceApplicationFault, occurred during application execution.

Remarks

This method updates the information for the specified keyword with the specified keyword consumer group.

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace