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
term
Type: Microsoft.Office.Server.Search.Administration.KeywordThe keyword to be added.
consumerGroupId
Type: System.StringThe 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