BeginExecuteReader Method (CommandBehavior)
From MySQL Connector.Net
|
|
| MySQL Connector/Net |
| MySqlCommand..::..BeginExecuteReader Method (CommandBehavior) |
| MySqlCommand Class See Also Send Feedback |
|
|
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.8.4.0
Syntax
| C# |
|---|
public IAsyncResult BeginExecuteReader( CommandBehavior behavior ) |
| Visual Basic |
|---|
Public Function BeginExecuteReader ( _ behavior As CommandBehavior _ ) As IAsyncResult |
| Visual C++ |
|---|
public: IAsyncResult^ BeginExecuteReader( CommandBehavior behavior ) |
Parameters
- behavior
- Type: System.Data..::..CommandBehavior
One of the CommandBehavior values, indicating options for statement execution and data retrieval.
Return Value
An 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.
See Also