OdbcCommand.IDbCommand.ExecuteReader Método

Definição

Sobrecargas

IDbCommand.ExecuteReader()

Executa o CommandText no Connection e compila um IDataReader.Executes the CommandText against the Connection and builds an IDataReader.

IDbCommand.ExecuteReader(CommandBehavior)

Executa o CommandText na Connection e cria um IDataReader usando o comportamento especificado.Executes the CommandText against the Connection, and builds an IDataReader using the specified behavior.

IDbCommand.ExecuteReader()

Executa o CommandText no Connection e compila um IDataReader.Executes the CommandText against the Connection and builds an IDataReader.

 virtual System::Data::IDataReader ^ System.Data.IDbCommand.ExecuteReader() = System::Data::IDbCommand::ExecuteReader;
System.Data.IDataReader IDbCommand.ExecuteReader ();
Function ExecuteReader () As IDataReader Implements IDbCommand.ExecuteReader

Retornos

Um objeto IDataReader.An IDataReader object.

Implementações

IDbCommand.ExecuteReader(CommandBehavior)

Executa o CommandText na Connection e cria um IDataReader usando o comportamento especificado.Executes the CommandText against the Connection, and builds an IDataReader using the specified behavior.

 virtual System::Data::IDataReader ^ System.Data.IDbCommand.ExecuteReader(System::Data::CommandBehavior behavior) = System::Data::IDbCommand::ExecuteReader;
System.Data.IDataReader IDbCommand.ExecuteReader (System.Data.CommandBehavior behavior);
Function ExecuteReader (behavior As CommandBehavior) As IDataReader Implements IDbCommand.ExecuteReader

Parâmetros

behavior
CommandBehavior

Uma combinação bit a bit dos valores de enumeração que especificam o comportamento do comando.A bitwise combination of the enumeration values that specifies the command behavior.

Retornos

Um objeto IDataReader.An IDataReader object.

Implementações

Aplica-se a