SearchServiceApplicationProxy.AddTuningDocument 方法
将已知的 URL 添加到后端的数据库服务器,以便相关性判断将来可能会与此文档相关联。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function AddTuningDocument ( _
searchObjectOwner As SearchObjectOwner, _
Url As String _
) As Integer
用法
Dim instance As SearchServiceApplicationProxy
Dim searchObjectOwner As SearchObjectOwner
Dim Url As String
Dim returnValue As Integer
returnValue = instance.AddTuningDocument(searchObjectOwner, _
Url)
public int AddTuningDocument(
SearchObjectOwner searchObjectOwner,
string Url
)
参数
searchObjectOwner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner搜索站点层次结构的所有者。
Url
类型:System.String文档的 URL。
返回值
类型:System.Int32
另请参阅
引用
SearchServiceApplicationProxy 类