DbCommand.ExecuteDbDataReader(CommandBehavior) 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.
Executes the command against its connection, returning a DbDataReader which can be used to access the results.
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
- behavior
- CommandBehavior
An instance of CommandBehavior, specifying options for command execution and data retrieval.
Returns
A DbDataReader object.
Exceptions
An error occurred while executing the command.
An invalid CommandBehavior value.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.