Udostępnij za pośrednictwem


SqlCommand.IDbCommand.ExecuteReader Metoda

Definicja

Przeciążenia

IDbCommand.ExecuteReader()

Wysyła element CommandText do elementu Connectioni tworzy element SqlDataReader.

IDbCommand.ExecuteReader(CommandBehavior)

Wysyła element CommandText do obiektu Connectioni tworzy SqlDataReader element przy użyciu jednej z CommandBehavior wartości.

IDbCommand.ExecuteReader()

Wysyła element CommandText do elementu Connectioni tworzy element 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

Zwraca

Obiekt SqlDataReader.

Implementuje

Dotyczy

IDbCommand.ExecuteReader(CommandBehavior)

Wysyła element CommandText do obiektu Connectioni tworzy SqlDataReader element przy użyciu jednej z CommandBehavior wartości.

 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

Parametry

behavior
CommandBehavior

Jedna z CommandBehavior wartości.

Zwraca

Obiekt SqlDataReader.

Implementuje

Dotyczy