AdomdCommand.IDbCommand.ExecuteReader Método (CommandBehavior)
Executes the CommandText against the Connection, and builds an IDataReader using one of the CommandBehaviour values.
Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxis
'Declaración
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- behavior
Tipo: System.Data.CommandBehavior
One of the enumeration values of CommandBehaviour.
Valor devuelto
Tipo: System.Data.IDataReader
An IDataReader object.
Implementa
IDbCommand.ExecuteReader(CommandBehavior)