다음을 통해 공유


AdomdCommand.ExecuteReader 메서드 (CommandBehavior)

Runs the AdomdCommand using the specified System.Data.CommandBehaviorenumeration value and returns an AdomdDataReader.

네임스페이스:  Microsoft.AnalysisServices.AdomdClient
어셈블리:  Microsoft.AnalysisServices.AdomdClient(Microsoft.AnalysisServices.AdomdClient.dll)

구문

‘선언
Public Function ExecuteReader ( _
    behavior As CommandBehavior _
) As AdomdDataReader
‘사용 방법
Dim instance As AdomdCommand 
Dim behavior As CommandBehavior 
Dim returnValue As AdomdDataReader 

returnValue = instance.ExecuteReader(behavior)
public AdomdDataReader ExecuteReader(
    CommandBehavior behavior
)
public:
AdomdDataReader^ ExecuteReader(
    CommandBehavior behavior
)
member ExecuteReader : 
        behavior:CommandBehavior -> AdomdDataReader
public function ExecuteReader(
    behavior : CommandBehavior
) : AdomdDataReader

매개 변수

반환 값

유형: Microsoft.AnalysisServices.AdomdClient.AdomdDataReader
The data reader.

주의

The values CommandBehavior.KeyInfo and CommandBehavior.SingleResult are not supported, and are ignored.

참고 항목

참조

AdomdCommand 클래스

ExecuteReader 오버로드

Microsoft.AnalysisServices.AdomdClient 네임스페이스