AdomdDataReader 클래스
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.
네임스페이스: Microsoft.AnalysisServices.AdomdClient
어셈블리: Microsoft.AnalysisServices.AdomdClient.dll의 Microsoft.AnalysisServices.AdomdClient
구문
‘선언
Public NotInheritable Class AdomdDataReader _
Inherits MarshalByRefObject _
Implements IDataReader, IDisposable, IDataRecord, IEnumerable
‘사용 방법
Dim instance As AdomdDataReader
public sealed class AdomdDataReader : MarshalByRefObject,
IDataReader, IDisposable, IDataRecord, IEnumerable
public ref class AdomdDataReader sealed : public MarshalByRefObject,
IDataReader, IDisposable, IDataRecord, IEnumerable
[<SealedAttribute>]
type AdomdDataReader =
class
inherit MarshalByRefObject
interface IDataReader
interface IDisposable
interface IDataRecord
interface IEnumerable
end
public final class AdomdDataReader extends MarshalByRefObject implements IDataReader, IDisposable, IDataRecord, IEnumerable
주의
The AdomdDataReader class is the implementation of the [System.Data.IDataReader] interface for ADOMD.NET. All Microsoft .NET Framework data providers implement the [System.Data.IDataReader] interface as a way of quickly reading forward-only result sets.
To create an AdomdDataReader, you must call the ExecuteReader method of the AdomdCommand, rather than directly using a constructor.
While the AdomdDataReader is in use, the AdomdCommand and the associated AdomdConnection is busy serving the AdomdDataReader. While in this state, no operations can be performed on the AdomdConnection or AdomdCommand objects other than closing them. This remains the case until the Close or Dispose method of the AdomdDataReader is called. Changes made to a result set by another process or thread while data is being read may be visible to the user of the AdomdDataReader. However, the precise behavior is timing dependent.
IsClosed and RecordsAffected are the only properties that you can call after the AdomdDataReader is closed.
상속 계층 구조
System. . :: . .Object
System. . :: . .MarshalByRefObject
Microsoft.AnalysisServices.AdomdClient..::..AdomdDataReader
스레드로부터의 안전성
이 형식의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.