Compartilhar via


SearchServiceApplication.SaveTuningModel method

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

Syntax

'Declaração
Public Function SaveTuningModel ( _
    searchObjectOwner As SearchObjectOwner, _
    modelId As Guid, _
    draftModelId As Guid, _
    modelName As String, _
    restrictToLinear As Boolean _
) As Integer
'Uso
Dim instance As SearchServiceApplication
Dim searchObjectOwner As SearchObjectOwner
Dim modelId As Guid
Dim draftModelId As Guid
Dim modelName As String
Dim restrictToLinear As Boolean
Dim returnValue As Integer

returnValue = instance.SaveTuningModel(searchObjectOwner, _
    modelId, draftModelId, modelName, _
    restrictToLinear)
public int SaveTuningModel(
    SearchObjectOwner searchObjectOwner,
    Guid modelId,
    Guid draftModelId,
    string modelName,
    bool restrictToLinear
)

Parâmetros

Valor retornado

Type: System.Int32

Ver também

Referência

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace