OleDbCommand.IDbCommand.ExecuteReader Method

Definition

For a description of this member, see ExecuteReader().

Overloads

IDbCommand.ExecuteReader()

For a description of this member, see ExecuteReader().

IDbCommand.ExecuteReader(CommandBehavior)

Executes the CommandText against the Connection, and builds an IDataReader using one of the CommandBehavior values.

Remarks

This member is an explicit interface member implementation. It can be used only when the OleDbCommand instance is cast to an IDbCommand interface.

IDbCommand.ExecuteReader()

For a description of this member, see ExecuteReader().

 virtual System::Data::IDataReader ^ System.Data.IDbCommand.ExecuteReader() = System::Data::IDbCommand::ExecuteReader;
System.Data.IDataReader IDbCommand.ExecuteReader ();
Function ExecuteReader () As IDataReader Implements IDbCommand.ExecuteReader

Returns

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the OleDbCommand instance is cast to an IDbCommand interface.

IDbCommand.ExecuteReader(CommandBehavior)

Executes the CommandText against the Connection, and builds an IDataReader 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);
Function ExecuteReader (behavior As CommandBehavior) As IDataReader Implements IDbCommand.ExecuteReader

Parameters

behavior
CommandBehavior

One of the CommandBehavior values.

Returns

An IDataReader built using one of the CommandBehavior values.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the OleDbCommand instance is cast to an IDbCommand interface.

For a description of this member, see ExecuteReader.

Applies to