Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SearchServiceApplication.AddTuningDocument method

SharePoint 2013

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)

public int AddTuningDocument(
	SearchObjectOwner searchObjectOwner,
	string Url
)

Parameters

searchObjectOwner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwner

The owner of the search site hierarchy.

Url
Type: System.String

The URL for the document.

Return value

Type: System.Int32
The result. 0 indicates successful; -1 indicates an error.
Show:
© 2015 Microsoft