SearchServiceApplicationProxy.SampleQueriesForTuning 方法

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Function SampleQueriesForTuning ( _
    searchObjectOwner As SearchObjectOwner, _
    samplingMethod As QuerySetConstructionMethods, _
    numQueries As Integer, _
    sourceId As Guid _
) As List(Of TuningQuery)
用法
Dim instance As SearchServiceApplicationProxy
Dim searchObjectOwner As SearchObjectOwner
Dim samplingMethod As QuerySetConstructionMethods
Dim numQueries As Integer
Dim sourceId As Guid
Dim returnValue As List(Of TuningQuery)

returnValue = instance.SampleQueriesForTuning(searchObjectOwner, _
    samplingMethod, numQueries, sourceId)
public List<TuningQuery> SampleQueriesForTuning(
    SearchObjectOwner searchObjectOwner,
    QuerySetConstructionMethods samplingMethod,
    int numQueries,
    Guid sourceId
)

参数

  • samplingMethod
    类型:QuerySetConstructionMethods

返回值

类型:System.Collections.Generic.List<TuningQuery>

另请参阅

引用

SearchServiceApplicationProxy 类

SearchServiceApplicationProxy 成员

Microsoft.Office.Server.Search.Administration 命名空间