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
resultTable
Type: System.Data.DataTableThe DataTable for the search results.
resultType
Type: Microsoft.Office.Server.Search.Query.ResultTypeThe type of search results.
rowCount
Type: System.Int32The number of search results contained in the DataTable.
totalRows
Type: System.Int32The total number of results returned for the search query.
isTotalRowsExact
Type: System.BooleanIndicates whether the value specified for the totalRows parameter is an approximation, or the exact number of rows.
timeZoneID
Type: System.Int32The identifier (ID) for the search query time zone