Sdílet prostřednictvím


AmoDataReader Class

Definition

Represents an object that retrieves a read-only, forward-only stream of data from an Analysis Services database.

public class AmoDataReader : IDisposable, System.Collections.IEnumerable, System.Data.IDataReader
type AmoDataReader = class
    interface IDataReader
    interface IDisposable
    interface IDataRecord
    interface IEnumerable
Public Class AmoDataReader
Implements IDataReader, IDisposable, IEnumerable
Inheritance
AmoDataReader
Implements

Properties

Depth

Gets the depth of nesting for the current row.

FieldCount

Gets the number of columns in the current row.

IsClosed

Gets a value that indicates whether the AmoDataReader is closed.

Item[Int32]

Gets the value of the specified column in its native format given the column ordinal.

Item[String]

Gets the value of the specified column in its native format given the column name.

RecordsAffected

Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.

Results

Gets the collection of results for the current object, containing warnings and informational messages.

RowsetName

Gets the name of the current rowset.

TopLevelAttributes

Gets the top level attributes for this property.

Methods

Close()

Closes a AmoDataReader object.

Dispose()

Releases all unmanaged resources that are used by the site collection object.

GetBoolean(Int32)

Gets the value of the specified column as a Boolean.

GetByte(Int32)

Gets the value of the specified column as a byte.

GetBytes(Int32, Int64, Byte[], Int32, Int32)

Reads a stream of bytes from the specified column offset into the buffer an array starting at the given buffer offset.

GetChar(Int32)

Gets the value of the specified column as a single character.

GetChars(Int32, Int64, Char[], Int32, Int32)

Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset.

GetData(Int32)

Retrieves the data of the current object.

GetDataTypeName(Int32)

Gets the data type name for the specified index.

GetDateTime(Int32)

Gets the value of the specified column as a DateTime object.

GetDecimal(Int32)

Gets the fixed-position numeric value of the specified field.

GetDouble(Int32)

Gets the value of the specified column as a double-precision floating point number.

GetEnumerator()

Returns an enumerator that iterates through the collection.

GetFieldType(Int32)

Gets the Type information corresponding to the type of Object.

GetFloat(Int32)

Gets the single-precision floating point number of the specified ordinal.

GetGuid(Int32)

Gets the value of the specified column as a globally unique identifier (GUID).

GetInt16(Int32)

Gets the value of the specified column as a 16-bit signed integer.

GetInt32(Int32)

Gets the value of the specified column as a 32-bit signed integer.

GetInt64(Int32)

Gets the value of the specified column as a 64-bit signed integer.

GetName(Int32)

Gets the name for the specified column.

GetOrdinal(String)

Gets the column ordinal, given the name of the column.

GetSchemaTable()

Returns a DataTable that describes the column metadata of the AmoDataReader.

GetString(Int32)

Gets the value of the specified column as a string.

GetTimeSpan(Int32)

Gets the value of the specified column as a TimeSpan object.

GetValue(Int32)

Retrieves the value of the specified column in its native format.

GetValues(Object[])

Populates an array of objects with the column values of the current row.

IsDBNull(Int32)

Determines whether the column contains non-existent or missing values.

NextResult()

Advances the data reader to the next result.

Read()

Determines a value that indicates whether the AmoDataReader advances to the next record.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to