Share via


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

NOTE: This API is now obsolete.

Initializes a new instance of the ResultTable class.

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

Syntax

'Declaration
<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 _
)
'Usage
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
)

Parameters

  • rowCount
    Type: System.Int32

    The number of search results contained in the DataTable.

  • totalRows
    Type: System.Int32

    The total number of results returned for the search query.

  • isTotalRowsExact
    Type: System.Boolean

    Indicates whether the value specified for the totalRows parameter is an approximation, or the exact number of rows.

  • timeZoneID
    Type: System.Int32

    The identifier (ID) for the search query time zone

See also

Reference

ResultTable class

ResultTable members

ResultTable overload

Microsoft.Office.Server.Search.Query namespace