Share via


AdomdCommand.IDbCommand.ExecuteReader Method (CommandBehavior)

Executes the CommandText against the Connection and builds an IDataReader using one of the CommandBehavior values.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Private Function ExecuteReader ( _
    b As CommandBehavior _
) As IDataReader Implements IDbCommand.ExecuteReader
'Usage
Dim instance As AdomdCommand 
Dim b As CommandBehavior 
Dim returnValue As IDataReader 

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

Parameters

Return Value

Type: System.Data.IDataReader
An IDataReader object.

Implements

IDbCommand.ExecuteReader(CommandBehavior)

See Also

Reference

AdomdCommand Class

ExecuteReader Overload

Microsoft.AnalysisServices.AdomdServer Namespace