SearchServiceApplication.GetRankingModels method
Gets all ranking models available for the given owner and RankingFilter.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetRankingModels ( _
owner As SearchObjectOwner, _
rankingFilter As RankingFilter _
) As List(Of RankingModel)
'Usage
Dim instance As SearchServiceApplication
Dim owner As SearchObjectOwner
Dim rankingFilter As RankingFilter
Dim returnValue As List(Of RankingModel)
returnValue = instance.GetRankingModels(owner, _
rankingFilter)
public List<RankingModel> GetRankingModels(
SearchObjectOwner owner,
RankingFilter rankingFilter
)
Parameters
owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerThe owner of the search site hierarchy.
rankingFilter
Type: Microsoft.Office.Server.Search.Administration.RankingFilterOne of the ranking filters available: Administration(), Query() or AllInScope().
Return value
Type: System.Collections.Generic.List<RankingModel>
A list of ranking models available for the given owner and ranking filter.
Implements
ISearchSiteAdministrationServiceApplication.GetRankingModels(SearchObjectOwner, RankingFilter)
See also
Reference
SearchServiceApplication class