ResultTable Members

Include Protected Members
Include Inherited Members

Provides a means of reading query search results through the IDataReader interface. Each row of the IDataReader represents one search result.

The ResultTable type exposes the following members.

Constructors

  Name Description
Public method ResultTable() Initializes a new instance of the ResultTable structure.
Public method ResultTable(ResultTableInternal, Int32) Initializes a new instance of the ResultTable structure.
Public method ResultTable(DataTable, ResultType, Int32, Int32, Boolean, Int32)

Top

Properties

  Name Description
Public property Depth
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
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 name of the row to return.
Public property RecordsAffected
Public property ResultType Gets the type of search results in the result table.
Public property RowCount Gets the number of query results contained in the ResultTable object.
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.

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 Gets the string value of the field at the specified ordinal index.
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 search result.
Public method Read Advances the IDataReader to the next record.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

ResultTable Class

Microsoft.SharePoint.Search.Query Namespace