Método AdomdCommand.IDbCommand.ExecuteReader (CommandBehavior)
Executes the CommandText against the Connection, and builds an IDataReader using one of the CommandBehaviour values.
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
- behavior
Tipo: System.Data.CommandBehavior
One of the enumeration values of CommandBehaviour.
Valor de retorno
Tipo: System.Data.IDataReader
An IDataReader object.
Implementa
IDbCommand.ExecuteReader(CommandBehavior)