AdomdCommand.ExecuteReader 메서드

Runs the AdomdCommand and returns an AdomdDataReader.

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

public AdomdDataReader ExecuteReader()


The provider returned an error in response.


The provider sent an unrecognizable response.


The CommandText property was improperly set

While the AdomdDataReader is in use, the AdomdCommand and the associated AdomdConnection are busy serving the AdomdDataReader. While in this state, the AdomdConnection or AdomdCommand can only be closed; no other operations can be performed on them. This remains the case until the Close or Dispose method of the AdomdDataReader is called.