请注意:此 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
)
参数
resultTable
类型:System.Data.DataTable搜索结果为DataTable 。
resultType
类型:Microsoft.Office.Server.Search.Query.ResultType搜索结果的类型。
rowCount
类型:System.Int32DataTable中包含的搜索结果数。
totalRows
类型:System.Int32搜索查询返回的结果总数。
isTotalRowsExact
类型:System.Boolean指示是否为指定的值totalRows参数是一个近似值或确切的行数。
timeZoneID
类型:System.Int32搜索查询所在时区标识符 (ID)