SqlCommand.IDbCommand.ExecuteReader Yöntem

Tanım

Aşırı Yüklemeler

IDbCommand.ExecuteReader()

CommandText Connection ' A gönderir ve bir oluşturur SqlDataReader .Sends the CommandText to the Connection, and builds a SqlDataReader.

IDbCommand.ExecuteReader(CommandBehavior)

CommandText Connection ' A gönderir ve SqlDataReader değerlerinden birini kullanarak bir oluşturur CommandBehavior .Sends the CommandText to the Connection, and builds a SqlDataReader using one of the CommandBehavior values.

IDbCommand.ExecuteReader()

CommandText Connection ' A gönderir ve bir oluşturur 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

Döndürülenler

IDataReader

Bir SqlDataReader nesnesi.A SqlDataReader object.

Uygulamalar

Şunlara uygulanır

IDbCommand.ExecuteReader(CommandBehavior)

CommandText Connection ' A gönderir ve SqlDataReader değerlerinden birini kullanarak bir oluşturur 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

Parametreler

behavior
CommandBehavior

CommandBehaviorDeğerlerden biri.One of the CommandBehavior values.

Döndürülenler

IDataReader

Bir SqlDataReader nesnesi.A SqlDataReader object.

Uygulamalar

Şunlara uygulanır