SearchServiceApplication.SaveTuningModel method
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function SaveTuningModel ( _
searchObjectOwner As SearchObjectOwner, _
modelId As Guid, _
draftModelId As Guid, _
modelName As String, _
restrictToLinear As Boolean _
) As Integer
'Usage
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
)
Parameters
- searchObjectOwner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwner
- modelId
Type: System.Guid
- draftModelId
Type: System.Guid
- modelName
Type: System.String
- restrictToLinear
Type: System.Boolean
Return value
Type: System.Int32
See also
Reference
SearchServiceApplication class