Share via


AdomdCommand.IDbCommand.ExecuteReader Method (CommandBehavior)

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

Syntax

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

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

Parameters

Return Value

Type: System.Data.IDataReader

Implements

IDbCommand.ExecuteReader(CommandBehavior)