Compartilhar via


ResultTable constructor (DataTable, ResultType, Int32, Int32, Boolean, Int32)

NOTE: This API is now obsolete.

Inicializa uma nova instância da classe ResultTable .

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

Syntax

'Declaração
<ObsoleteAttribute("Use a construtor that receives a string TableType rather than a ResultType")> _
Public Sub New ( _
    resultTable As DataTable, _
    resultType As ResultType, _
    rowCount As Integer, _
    totalRows As Integer, _
    isTotalRowsExact As Boolean, _
    timeZoneID As Integer _
)
'Uso
Dim resultTable As DataTable
Dim resultType As ResultType
Dim rowCount As Integer
Dim totalRows As Integer
Dim isTotalRowsExact As Boolean
Dim timeZoneID As Integer

Dim instance As New ResultTable(resultTable, _
    resultType, rowCount, totalRows, _
    isTotalRowsExact, timeZoneID)
[ObsoleteAttribute("Use a construtor that receives a string TableType rather than a ResultType")]
public ResultTable(
    DataTable resultTable,
    ResultType resultType,
    int rowCount,
    int totalRows,
    bool isTotalRowsExact,
    int timeZoneID
)

Parâmetros

  • rowCount
    Type: System.Int32

    O número de resultados de pesquisa contidas no DataTable.

  • totalRows
    Type: System.Int32

    O número total de resultados retornados para a consulta de pesquisa.

  • isTotalRowsExact
    Type: System.Boolean

    Indica que se o valor especificado para o parâmetro totalRows é uma aproximação ou o número exato de linhas.

  • timeZoneID
    Type: System.Int32

    O identificador (ID) para a zona de tempo de consulta de pesquisa

Ver também

Referência

ResultTable class

ResultTable members

ResultTable overload

Microsoft.Office.Server.Search.Query namespace