Share via


AdomdCommand.IDbCommand.ExecuteReader Method

Executes the CommandText against the Connection, and builds an IDataReader.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Private Function ExecuteReader As IDataReader 
    Implements IDbCommand.ExecuteReader
'Usage
Dim instance As AdomdCommand 
Dim returnValue As IDataReader 

returnValue = CType(instance, IDbCommand).ExecuteReader()
IDataReader IDbCommand.ExecuteReader()
private:
virtual IDataReader^ ExecuteReader() sealed = IDbCommand::ExecuteReader
private abstract ExecuteReader : unit -> IDataReader  
private override ExecuteReader : unit -> IDataReader
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.Data.IDataReader
An IDataReader object.

Implements

IDbCommand.ExecuteReader()

See Also

Reference

AdomdCommand Class

ExecuteReader Overload

Microsoft.AnalysisServices.AdomdClient Namespace