Compartir vía


SqlCommand.IDbCommand.ExecuteReader Método

Definición

Sobrecargas

IDbCommand.ExecuteReader()

Envía la propiedad CommandText a la propiedad Connection y compila un objeto SqlDataReader.

IDbCommand.ExecuteReader(CommandBehavior)

Envía CommandText a Connection y crea un SqlDataReader mediante uno de los valores de CommandBehavior.

IDbCommand.ExecuteReader()

Envía la propiedad CommandText a la propiedad Connection y compila un objeto 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

Devoluciones

Un objeto SqlDataReader.

Implementaciones

Se aplica a

IDbCommand.ExecuteReader(CommandBehavior)

Envía CommandText a Connection y crea un SqlDataReader mediante uno de los valores de CommandBehavior.

 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

Uno de los valores de CommandBehavior.

Devoluciones

Un objeto SqlDataReader.

Implementaciones

Se aplica a