다음을 통해 공유


SearchServiceApplication.AddSpecialTerm Method

Adds a new keyword to the SearchAdminDatabase.

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 SearchServiceApplication
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)

Remarks

This method adds the special keyword to the SearchAdminDatabase.

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace