다음을 통해 공유


SearchServiceApplicationProxy.AddSpecialTerm Method

Adds a new keyword to the Search administration database.

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

Syntax

'Declaration
Public Sub AddSpecialTerm ( _
    ByRef term As Keyword, _
    consumerGroupId As String _
)
'Usage
Dim instance As SearchServiceApplicationProxy
Dim term As Keyword
Dim consumerGroupId As String

instance.AddSpecialTerm(term, consumerGroupId)
public void AddSpecialTerm(
    ref Keyword term,
    string consumerGroupId
)

Parameters

  • consumerGroupId
    Type: System.String

    The ID of the keyword consumer group associated with the keyword.

Implements

ISearchSiteAdministrationServiceApplication.AddSpecialTerm(Keyword, String)

Exceptions

Exception Condition
Exception

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

Remarks

This method adds the specified keyword to the consumer group specified by the consumerGroupId parameter to the Search administration database.

See Also

Reference

SearchServiceApplicationProxy Class

SearchServiceApplicationProxy Members

Microsoft.Office.Server.Search.Administration Namespace