DbCommand.ExecuteDbDataReader(CommandBehavior) DbCommand.ExecuteDbDataReader(CommandBehavior) DbCommand.ExecuteDbDataReader(CommandBehavior) DbCommand.ExecuteDbDataReader(CommandBehavior) Method

Definition

When overridden in a derived class, executes the command text against the connection.

protected:
 abstract System::Data::Common::DbDataReader ^ ExecuteDbDataReader(System::Data::CommandBehavior behavior);
protected abstract System.Data.Common.DbDataReader ExecuteDbDataReader (System.Data.CommandBehavior behavior);
abstract member ExecuteDbDataReader : System.Data.CommandBehavior -> System.Data.Common.DbDataReader
Protected MustOverride Function ExecuteDbDataReader (behavior As CommandBehavior) As DbDataReader

Parameters

Returns

A task representing the operation.

Exceptions

An error occurred while executing the command text.

Applies to

See also