SearchServiceApplicationProxy.AddSpecialTerm-Methode
Der SearchAdminDatabasewird ein neues Schlüsselwort hinzugefügt.
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
)
Parameter
term
Typ: Microsoft.Office.Server.Search.Administration.KeywordDas Schlüsselwort, das dem SearchAdminDatabasehinzugefügt werden.
consumerGroupId
Typ: System.StringDie ID der Verbrauchergruppe Schlüsselwort mit dem Schlüsselwort verknüpft ist.
Implementiert
ISearchSiteAdministrationServiceApplication.AddSpecialTerm(Keyword, String)
Ausnahmen
Ausnahme | Bedingung |
---|---|
Exception | Ein Fehler, wie z. B. ein SearchServiceApplicationFault, während der Anwendungsausführung aufgetreten ist. |
Hinweise
Diese Methode fügt das spezielle Schlüsselwort an den SearchAdminDatabase.
Siehe auch
Referenz
SearchServiceApplicationProxy Klasse