SearchServiceApplication.AddRankingModel method
Adds a ranking model with the given owner.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub AddRankingModel ( _
owner As SearchObjectOwner, _
model As RankingModel _
)
'Usage
Dim instance As SearchServiceApplication
Dim owner As SearchObjectOwner
Dim model As RankingModel
instance.AddRankingModel(owner, model)
public void AddRankingModel(
SearchObjectOwner owner,
RankingModel model
)
Parameters
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerThe owner of the search site hierarchy.
model
Type: Microsoft.Office.Server.Search.Administration.RankingModelThe ranking model to be added.
Implements
ISearchSiteAdministrationServiceApplication.AddRankingModel(SearchObjectOwner, RankingModel)
See also
Reference
SearchServiceApplication class