BeginExecuteReader Method

MySQL Connector/Net

Initiates the asynchronous execution of the SQL statement or stored procedure that is described by this MySqlCommand, and retrieves one or more result sets from the server.

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 6.2.2.0

Syntax

C#
public IAsyncResult BeginExecuteReader()
Visual Basic (Declaration)
Public Function BeginExecuteReader As IAsyncResult
Visual C++
public:
IAsyncResult^ BeginExecuteReader()

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