OleDbCommand.IDbCommand.ExecuteReader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
- Source:
- OleDbCommand.cs
- Source:
- OleDbCommand.cs
- Source:
- OleDbCommand.cs
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 ();
System.Data.IDataReader IDbCommand.ExecuteReader ();
override this.System.Data.IDbCommand.ExecuteReader : unit -> System.Data.IDataReader
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
Returns
An IDataReader object.
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.
Applies to
IDbCommand.ExecuteReader(CommandBehavior)
- Source:
- OleDbCommand.cs
- Source:
- OleDbCommand.cs
- Source:
- OleDbCommand.cs
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);
System.Data.IDataReader IDbCommand.ExecuteReader (System.Data.CommandBehavior behavior);
override this.System.Data.IDbCommand.ExecuteReader : System.Data.CommandBehavior -> System.Data.IDataReader
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
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.