Compartilhar via


SearchServiceApplicationProxy.SampleQueriesForTuning method

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaração
Public Function SampleQueriesForTuning ( _
    searchObjectOwner As SearchObjectOwner, _
    samplingMethod As QuerySetConstructionMethods, _
    numQueries As Integer, _
    sourceId As Guid _
) As List(Of TuningQuery)
'Uso
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
)

Parâmetros

  • samplingMethod
    Type: QuerySetConstructionMethods

Valor retornado

Type: System.Collections.Generic.List<TuningQuery>

Ver também

Referência

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace