AdomdCommand.ExecuteReader 메서드 (CommandBehavior)

Runs the AdomdCommand using the specified CommandBehavior enumeration value and returns an AdomdDataReader.

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

구문

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

returnValue = instance.ExecuteReader()
public AdomdDataReader ExecuteReader(
    CommandBehavior
)
public:
virtual AdomdDataReader^ ExecuteReader(
    CommandBehavior
) sealed
abstract ExecuteReader : 
        :CommandBehavior -> AdomdDataReader  
override ExecuteReader : 
        :CommandBehavior -> AdomdDataReader
public final function ExecuteReader(
     : CommandBehavior
) : AdomdDataReader

매개 변수

반환 값

유형: Microsoft.AnalysisServices.AdomdServer.AdomdDataReader
A data reader.

주의

The values, CommandBehavior.KeyInfo and CommandBehavior.SingleResult, are not supported and are ignored. For more information about CommandBehavior, see System.Data.CommandBehavior.

참고 항목

참조

AdomdCommand 클래스

ExecuteReader 오버로드

Microsoft.AnalysisServices.AdomdServer 네임스페이스