AdomdDataReader Members

Provides a means of reading a forward-only result set that is obtained by running a command, and can be used to access analytical data sources.

The following tables list the members exposed by the AdomdDataReader type.

Public Properties

  名称 Description
ms141575.pubproperty(zh-cn,SQL.90).gif Depth Gets a value indicating the depth of nesting for the current row.
ms141575.pubproperty(zh-cn,SQL.90).gif FieldCount Gets a value indicating the number of columns in the current row.
ms141575.pubproperty(zh-cn,SQL.90).gif IsClosed Gets a value indicating whether the data reader is closed.
ms141575.pubproperty(zh-cn,SQL.90).gif Item Overloaded. Gets the value of a specified column in its native format, given the ordinal position of the column.
ms141575.pubproperty(zh-cn,SQL.90).gif RecordsAffected This member is reserved for future use.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms141575.pubmethod(zh-cn,SQL.90).gif Close Closes the AdomdDataReader.
ms141575.pubmethod(zh-cn,SQL.90).gif CreateObjRef  (inherited from MarshalByRefObject )
ms141575.pubmethod(zh-cn,SQL.90).gif Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
ms141575.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms141575.pubmethod(zh-cn,SQL.90).gif GetBoolean Returns a Boolean that contains the value from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetByte Returns a Byte that contains the value from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetBytes This member is reserved for future use.
ms141575.pubmethod(zh-cn,SQL.90).gif GetChar Returns a Char that contains the value from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetChars Returns an array of Char objects that contain a stream of values from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetData Returns a System.Data.IDataReader interface to be used when a column points to more remote structured data.
ms141575.pubmethod(zh-cn,SQL.90).gif GetDataReader Gets an AdomdDataReader object from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetDataTypeName Returns a String that contains the full name of the data type for the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetDateTime Returns a DateTime that contains the value from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetDecimal Returns a Decimal that contains the value from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetDouble Returns a Double that contains the value from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetEnumerator Gets an IEnumerator interface for iterating through the collection.
ms141575.pubmethod(zh-cn,SQL.90).gif GetFieldType Returns a Type that represents the data type of the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetFloat Returns a Float that contains the value from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetGuid Returns a Guid that contains the value from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms141575.pubmethod(zh-cn,SQL.90).gif GetInt16 Returns an Int16 that contains the value from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetInt32 Returns an Int32 that contains the value from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetInt64 Returns an Int64 that contains the value from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetLifetimeService  (inherited from MarshalByRefObject )
ms141575.pubmethod(zh-cn,SQL.90).gif GetName Returns the name of the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetOrdinal Returns the ordinal position of the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetSchemaTable Returns a DataTable that describes the column metadata of the AdomdDataReader.
ms141575.pubmethod(zh-cn,SQL.90).gif GetString Returns a String that contains the value from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetTimeSpan Returns a TimeSpan that contains the value from the specified column.
ms141575.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms141575.pubmethod(zh-cn,SQL.90).gif GetValue Returns the value for the specified column in its native format.
ms141575.pubmethod(zh-cn,SQL.90).gif GetValues Gets an array of values for all of the columns in the current row.
ms141575.pubmethod(zh-cn,SQL.90).gif InitializeLifetimeService  (inherited from MarshalByRefObject )
ms141575.pubmethod(zh-cn,SQL.90).gif IsDBNull Returns a Boolean that contains a value indicating whether the column is set to null.
ms141575.pubmethod(zh-cn,SQL.90).gif NextResult This member is reserved for future use.
ms141575.pubmethod(zh-cn,SQL.90).gif Read Advances the AdomdDataReader to the next row.
ms141575.pubmethod(zh-cn,SQL.90).gifms141575.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms141575.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms141575.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms141575.protmethod(zh-cn,SQL.90).gif MemberwiseClone  Overloaded. (inherited from MarshalByRefObject )

顶部

Explicit Interface Implementations

  名称 Description
System.Collections.IEnumerable.GetEnumerator  

顶部

请参阅

参考

AdomdDataReader Class
Microsoft.AnalysisServices.AdomdClient Namespace