ResultTable 构造函数 (DataTable, ResultType, Int32, Int32, Boolean, Int32)

请注意:此 API 现在已过时。

ResultTable类的新实例进行初始化。

命名空间:  Microsoft.Office.Server.Search.Query
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
<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 _
)
用法
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
)

参数

  • rowCount
    类型:System.Int32

    DataTable中包含的搜索结果数。

  • totalRows
    类型:System.Int32

    搜索查询返回的结果总数。

  • isTotalRowsExact
    类型:System.Boolean

    指示是否为指定的值totalRows参数是一个近似值或确切的行数。

  • timeZoneID
    类型:System.Int32

    搜索查询所在时区标识符 (ID)

另请参阅

引用

ResultTable 类

ResultTable 成员

ResultTable 重载

Microsoft.Office.Server.Search.Query 命名空间