Partager via


ResultTable Members

Include Protected Members
Include Inherited Members

Represents a distinct collection of search results returned for a query.

The ResultTable type exposes the following members.

Constructors

  Name Description
Public method ResultTable() This member is reserved for internal use and is not intended to be used directly from your code.
Public method ResultTable(ResultTableInternal, Int32) This member is reserved for internal use and is not intended to be used directly from your code.
Public method ResultTable(DataTable, ResultType, Int32, Int32, Boolean, Int32) Initializes a new instance of the ResultTable class.

Top

Properties

  Name Description
Public property Depth Gets a value indicating the depth of nesting for the current row.
Public property FieldCount Gets the number of columns returned in the search results.
Public property IsClosed Gets a Boolean value indicating if the ResultTable is closed.
Public property IsTotalRowsExact Gets a Boolean value indicating whether the value returned for the TotalRows property is an approximation, or the exact number of rows.
Public property Item[Int32] Gets a search result from the collection, based on the specified index.
Public property Item[String] Gets a search result from the collection, based on the specified row name.
Public property RecordsAffected Gets the number of rows changed.
Public property ResultType Gets the type of search results in the result table.
Public property RowCount Gets the number of search results returned in the result table.
Public property Table Gets or sets the DataTable containing the search results.
Public property TotalRows Gets the number of search results returned in the result table.
Public property TotalRowsIncludingDuplicates Gets the number of search results including duplicate results returned in the result table.

Top

Methods

  Name Description
Public method Close Closes the result table.
Public method Dispose Releases the resources for the result table.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBoolean Returns the value of the specified column as a Boolean.
Public method GetByte Returns the 8-bit unsigned integer value of the specified column.
Public method GetBytes Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset.
Public method GetChar Returns the character value of the specified column.
Public method GetChars Reads a stream of characters from the specified column offset into the buffer as an array, starting at the given buffer offset.
Public method GetData Returns an IDataReader for the specified column.
Public method GetDataTypeName Returns the data type information for the specified column.
Public method GetDateTime Returns the date and time data value for the specified column.
Public method GetDateTimeUtc Returns the date and time in coordinated universal time (UTC) for the specified column.
Public method GetDecimal Returns the fixed-position numeric value for the specified column.
Public method GetDouble Returns the double-precision floating point number for the specified column.
Public method GetFieldType Returns the type information for the specified column.
Public method GetFloat Returns the single-precision floating point number for the specified column.
Public method GetGuid Returns the GUID value for the specified column.
Public method GetHashCode (Inherited from Object.)
Public method GetInt16 Returns the 16-bit signed integer value for the specified column.
Public method GetInt32 Returns the 32-bit signed integer value for the specified column.
Public method GetInt64 Returns the 64-bit signed integer value for the specified column.
Public method GetName Returns the name for the specified column.
Public method GetOrdinal Returns the index for the specified column.
Public method GetSchemaTable Returns a DataTable object that describes the column metadata of the result table.
Public method GetString Returns the string value of the specified column.
Public method GetType (Inherited from Object.)
Public method GetValue Returns the value of the specified field.
Public method GetValues Populates an array of objects with the column values for the current search result.
Public method IsDBNull Return whether the specified column is set to a null reference (Nothing in Visual Basic).
Protected method MemberwiseClone (Inherited from Object.)
Public method NextResult Advances to the next result set.
Public method Read Advances to the next search result row.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

ResultTable Class

Microsoft.Office.Server.Search.Query Namespace