SearchServiceApplication.GetAllRankingModels 方法
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function GetAllRankingModels ( _
searchObjectOwner As SearchObjectOwner, _
includeDrafts As Boolean _
) As List(Of RankingModel)
用法
Dim instance As SearchServiceApplication
Dim searchObjectOwner As SearchObjectOwner
Dim includeDrafts As Boolean
Dim returnValue As List(Of RankingModel)
returnValue = instance.GetAllRankingModels(searchObjectOwner, _
includeDrafts)
public List<RankingModel> GetAllRankingModels(
SearchObjectOwner searchObjectOwner,
bool includeDrafts
)
参数
- searchObjectOwner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner
- includeDrafts
类型:System.Boolean
返回值
类型:System.Collections.Generic.List<RankingModel>