Share via


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

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
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)
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