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 | |
|---|---|---|
| .gif) | Depth | Gets a value indicating the depth of nesting for the current row. | 
| .gif) | FieldCount | Gets a value indicating the number of columns in the current row. | 
| .gif) | IsClosed | Gets a value indicating whether the data reader is closed. | 
| .gif) | Item | Overloaded. Gets the value of a specified column in its native format, given the ordinal position of the column. | 
| .gif) | RecordsAffected | This member is reserved for future use. | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | Close | Closes the AdomdDataReader. | 
| .gif) | CreateObjRef | (inherited from MarshalByRefObject ) | 
| .gif) | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetBoolean | Returns a Boolean that contains the value from the specified column. | 
| .gif) | GetByte | Returns a Byte that contains the value from the specified column. | 
| .gif) | GetBytes | This member is reserved for future use. | 
| .gif) | GetChar | Returns a Char that contains the value from the specified column. | 
| .gif) | GetChars | Returns an array of Char objects that contain a stream of values from the specified column. | 
| .gif) | GetData | Returns a System.Data.IDataReader interface to be used when a column points to more remote structured data. | 
| .gif) | GetDataReader | Gets an AdomdDataReader object from the specified column. | 
| .gif) | GetDataTypeName | Returns a String that contains the full name of the data type for the specified column. | 
| .gif) | GetDateTime | Returns a DateTime that contains the value from the specified column. | 
| .gif) | GetDecimal | Returns a Decimal that contains the value from the specified column. | 
| .gif) | GetDouble | Returns a Double that contains the value from the specified column. | 
| .gif) | GetEnumerator | Gets an IEnumerator interface for iterating through the collection. | 
| .gif) | GetFieldType | Returns a Type that represents the data type of the specified column. | 
| .gif) | GetFloat | Returns a Float that contains the value from the specified column. | 
| .gif) | GetGuid | Returns a Guid that contains the value from the specified column. | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetInt16 | Returns an Int16 that contains the value from the specified column. | 
| .gif) | GetInt32 | Returns an Int32 that contains the value from the specified column. | 
| .gif) | GetInt64 | Returns an Int64 that contains the value from the specified column. | 
| .gif) | GetLifetimeService | (inherited from MarshalByRefObject ) | 
| .gif) | GetName | Returns the name of the specified column. | 
| .gif) | GetOrdinal | Returns the ordinal position of the specified column. | 
| .gif) | GetSchemaTable | Returns a DataTable that describes the column metadata of the AdomdDataReader. | 
| .gif) | GetString | Returns a String that contains the value from the specified column. | 
| .gif) | GetTimeSpan | Returns a TimeSpan that contains the value from the specified column. | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) | GetValue | Returns the value for the specified column in its native format. | 
| .gif) | GetValues | Gets an array of values for all of the columns in the current row. | 
| .gif) | InitializeLifetimeService | (inherited from MarshalByRefObject ) | 
| .gif) | IsDBNull | Returns a Boolean that contains a value indicating whether the column is set to null. | 
| .gif) | NextResult | This member is reserved for future use. | 
| .gif) | Read | Advances the AdomdDataReader to the next row. | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | ToString | (inherited from Object ) | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | Overloaded. (inherited from MarshalByRefObject ) | 
顶部
Explicit Interface Implementations
| 名称 | Description | |
|---|---|---|
| System.Collections.IEnumerable.GetEnumerator | 
顶部
请参阅
参考
AdomdDataReader Class
Microsoft.AnalysisServices.AdomdClient Namespace