Export (0) Print
Expand All
Expand Minimize

SearchServiceApplication.GetRankingModels method

SharePoint 2013

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)

public List<RankingModel> GetRankingModels(
	SearchObjectOwner owner,
	RankingFilter rankingFilter
)

Parameters

owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwner

The owner of the search site hierarchy.

rankingFilter
Type: Microsoft.Office.Server.Search.Administration.RankingFilter

One 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)

Community Additions

ADD
Show:
© 2014 Microsoft