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
)

参数

  • baseModelId
    类型:System.Guid

    基本的等级模型。

  • newModelId
    类型:System.Guid

    新的分级模型。

  • newDraftModelId
    类型:System.Guid

    分级模型草案。

  • newModelName
    类型:System.String

    新的分级模型的名称。

  • restrictToLinear
    类型:System.Boolean

    指定是否以用于第一阶段或神经网络的线性模型。

返回值

类型:System.Int32
结果。0 表示成功。-1 指示错误。

另请参阅

引用

SearchServiceApplicationProxy 类

SearchServiceApplicationProxy 成员

Microsoft.Office.Server.Search.Administration 命名空间