SearchServiceApplication.AddSingleJudgementForQuery method
Adiciona um critério único de relevância para o servidor de banco de dados back-end.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaração
Public Function AddSingleJudgementForQuery ( _
searchObjectOwner As SearchObjectOwner, _
userQuery As String, _
Url As String, _
LabelId As Short _
) As Integer
'Uso
Dim instance As SearchServiceApplication
Dim searchObjectOwner As SearchObjectOwner
Dim userQuery As String
Dim Url As String
Dim LabelId As Short
Dim returnValue As Integer
returnValue = instance.AddSingleJudgementForQuery(searchObjectOwner, _
userQuery, Url, LabelId)
public int AddSingleJudgementForQuery(
SearchObjectOwner searchObjectOwner,
string userQuery,
string Url,
short LabelId
)
Parâmetros
searchObjectOwner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerO proprietário da hierarquia do site de pesquisa.
- userQuery
Type: System.String
- Url
Type: System.String
- LabelId
Type: System.Int16
Valor retornado
Type: System.Int32
O resultado. 0 indica êxito; -1 indica um erro.
Ver também
Referência
SearchServiceApplication class