Freigeben über


SearchServiceApplicationProxy.CopyModelForTuning-Methode

Erstellt eine Kopie der angegebenen Basis Rangfolgemodell die anschließend angepasst wird.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
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
'Usage
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
)

Parameter

  • baseModelId
    Typ: System.Guid

    Das Basis-Ranking-Modell.

  • newModelId
    Typ: System.Guid

    Das neue Rangfolgemodell.

  • newDraftModelId
    Typ: System.Guid

    Das Rangfolgemodell Entwurf.

  • restrictToLinear
    Typ: System.Boolean

    Gibt an, ob ein lineares Modell für die erste Stufe oder eines neuronalen Netzwerks verwendet.

Rückgabewert

Typ: System.Int32
Das Ergebnis. 0 zeigt Erfolg an. -1 zeigt einen Fehler an.

Siehe auch

Referenz

SearchServiceApplicationProxy Klasse

SearchServiceApplicationProxy-Member

Microsoft.Office.Server.Search.Administration-Namespace