MySQL Connector/Net
MySqlCommandBeginExecuteReader Method (CommandBehavior) |
Initiates the asynchronous execution of the SQL statement or stored procedure
that is described by this MySqlCommand using one of the
CommandBehavior values.
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9

public IAsyncResult BeginExecuteReader( CommandBehavior behavior )
Public Function BeginExecuteReader ( behavior As CommandBehavior ) As IAsyncResult
public: IAsyncResult^ BeginExecuteReader( CommandBehavior behavior )
member BeginExecuteReader : behavior : CommandBehavior -> IAsyncResult
Parameters
- behavior
- Type: System.DataCommandBehavior
One of the CommandBehavior values, indicating options for statement execution and data retrieval.
Return Value
Type: IAsyncResultAn IAsyncResult that can be used to poll, wait for results, or both; this value is also needed when invoking EndExecuteReader, which returns a MySqlDataReader instance that can be used to retrieve the returned rows.
