SearchServiceApplicationProxy.AddSingleJudgementForQuery method
Adds a single relevance judgment to the backend database server.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function AddSingleJudgementForQuery ( _
searchObjectOwner As SearchObjectOwner, _
userQuery As String, _
Url As String, _
LabelId As Short _
) As Integer
'Usage
Dim instance As SearchServiceApplicationProxy
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
)
Parameters
searchObjectOwner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerThe owner of the search site hierarchy.
- userQuery
Type: System.String
- Url
Type: System.String
- LabelId
Type: System.Int16
Return value
Type: System.Int32
See also
Reference
SearchServiceApplicationProxy class