Compartilhar via


Método IDbCommand.ExecuteReader (CommandBehavior)

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

Sintaxe

'Declaração
Private Function ExecuteReader ( _
    behavior As CommandBehavior _
) As IDataReader Implements IDbCommand.ExecuteReader
'Uso
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Parâmetros

Valor de retorno

Tipo: System.Data. . :: . .IDataReader

Implementa

IDbCommand. . :: . .ExecuteReader(CommandBehavior)