SearchServiceApplication.AddTuningDocument method
Adds a known URL to the backend database server so that a relevance judgement may be associated with this document in the future.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function AddTuningDocument ( _
searchObjectOwner As SearchObjectOwner, _
Url As String _
) As Integer
'Usage
Dim instance As SearchServiceApplication
Dim searchObjectOwner As SearchObjectOwner
Dim Url As String
Dim returnValue As Integer
returnValue = instance.AddTuningDocument(searchObjectOwner, _
Url)
public int AddTuningDocument(
SearchObjectOwner searchObjectOwner,
string Url
)
Parameters
searchObjectOwner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerThe owner of the search site hierarchy.
Url
Type: System.StringThe URL for the document.
Return value
Type: System.Int32
The result. 0 indicates successful; -1 indicates an error.
See also
Reference
SearchServiceApplication class