SqlCommand.IDbCommand.ExecuteReader Método

Definição

Sobrecargas

IDbCommand.ExecuteReader()

Envia o CommandText para o Connection e cria um SqlDataReader.Sends the CommandText to the Connection, and builds a SqlDataReader.

IDbCommand.ExecuteReader(CommandBehavior)

Envia o CommandText para o Connection e cria um SqlDataReader usando um dos valores de CommandBehavior.Sends the CommandText to the Connection, and builds a SqlDataReader using one of the CommandBehavior values.

IDbCommand.ExecuteReader()

Envia o CommandText para o Connection e cria um SqlDataReader.Sends the CommandText to the Connection, and builds a SqlDataReader.

 virtual System::Data::IDataReader ^ System.Data.IDbCommand.ExecuteReader() = System::Data::IDbCommand::ExecuteReader;
System.Data.IDataReader IDbCommand.ExecuteReader ();
abstract member System.Data.IDbCommand.ExecuteReader : unit -> System.Data.IDataReader
override this.System.Data.IDbCommand.ExecuteReader : unit -> System.Data.IDataReader
Function ExecuteReader () As IDataReader Implements IDbCommand.ExecuteReader

Retornos

IDataReader

Um objeto SqlDataReader.A SqlDataReader object.

Implementações

Aplica-se a

IDbCommand.ExecuteReader(CommandBehavior)

Envia o CommandText para o Connection e cria um SqlDataReader usando um dos valores de CommandBehavior.Sends the CommandText to the Connection, and builds a SqlDataReader using one of the CommandBehavior values.

 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);
abstract member System.Data.IDbCommand.ExecuteReader : System.Data.CommandBehavior -> System.Data.IDataReader
override this.System.Data.IDbCommand.ExecuteReader : System.Data.CommandBehavior -> System.Data.IDataReader
Function ExecuteReader (behavior As CommandBehavior) As IDataReader Implements IDbCommand.ExecuteReader

Parâmetros

behavior
CommandBehavior

Um dos valores de CommandBehavior.One of the CommandBehavior values.

Retornos

IDataReader

Um objeto SqlDataReader.A SqlDataReader object.

Implementações

Aplica-se a