SearchServiceApplicationProxy.CopyModelForTuning 方法
使给定基分级模型,然后自定义的副本。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function CopyModelForTuning ( _
searchObjectOwner As SearchObjectOwner, _
baseModelId As Guid, _
newModelId As Guid, _
newDraftModelId As Guid, _
sourceId As Guid, _
newModelName As String, _
restrictToLinear As Boolean _
) As Integer
用法
Dim instance As SearchServiceApplicationProxy
Dim searchObjectOwner As SearchObjectOwner
Dim baseModelId As Guid
Dim newModelId As Guid
Dim newDraftModelId As Guid
Dim sourceId As Guid
Dim newModelName As String
Dim restrictToLinear As Boolean
Dim returnValue As Integer
returnValue = instance.CopyModelForTuning(searchObjectOwner, _
baseModelId, newModelId, newDraftModelId, _
sourceId, newModelName, restrictToLinear)
public int CopyModelForTuning(
SearchObjectOwner searchObjectOwner,
Guid baseModelId,
Guid newModelId,
Guid newDraftModelId,
Guid sourceId,
string newModelName,
bool restrictToLinear
)
参数
searchObjectOwner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner搜索站点层次结构的所有者。
baseModelId
类型:System.Guid基本的等级模型。
newModelId
类型:System.Guid新的分级模型。
newDraftModelId
类型:System.Guid分级模型草案。
sourceId
类型:System.Guid结果源。
newModelName
类型:System.String新的分级模型的名称。
restrictToLinear
类型:System.Boolean指定是否以用于第一阶段或神经网络的线性模型。
返回值
类型:System.Int32
结果。0 表示成功。-1 指示错误。
另请参阅
引用
SearchServiceApplicationProxy 类