Bagikan melalui


SqlCommand.IDbCommand.ExecuteReader Metode

Definisi

Overload

IDbCommand.ExecuteReader()

CommandText Mengirim ke Connection, dan membangun SqlDataReader.

IDbCommand.ExecuteReader(CommandBehavior)

CommandText Mengirim ke Connection, dan membangun SqlDataReader menggunakan salah CommandBehavior satu nilai.

IDbCommand.ExecuteReader()

CommandText Mengirim ke Connection, dan membangun 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

Mengembalikan

Objek SqlDataReader.

Penerapan

Berlaku untuk

IDbCommand.ExecuteReader(CommandBehavior)

CommandText Mengirim ke Connection, dan membangun SqlDataReader menggunakan salah CommandBehavior satu nilai.

 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

Parameter

behavior
CommandBehavior

Salah CommandBehavior satu nilai.

Mengembalikan

Objek SqlDataReader.

Penerapan

Berlaku untuk