다음을 통해 공유


ISearchSiteAdministrationServiceApplication.AddSpecialTerm Method

Adds a new keyword to the database.

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

Syntax

'Declaration
<FaultContractAttribute(GetType(SearchServiceApplicationFault))> _
<OperationContractAttribute> _
Sub AddSpecialTerm ( _
    ByRef term As Keyword, _
    consumerGroupId As String _
)
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim term As Keyword
Dim consumerGroupId As String

instance.AddSpecialTerm(term, consumerGroupId)
[FaultContractAttribute(typeof(SearchServiceApplicationFault))]
[OperationContractAttribute]
void AddSpecialTerm(
    ref Keyword term,
    string consumerGroupId
)

Parameters

  • consumerGroupId
    Type: System.String

    The ID of the consumer group.

Remarks

This method adds the specified keyword with the specified consumer group to the database.

See Also

Reference

ISearchSiteAdministrationServiceApplication Interface

ISearchSiteAdministrationServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace