BeginExecuteReader Method

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image
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.8.4.0

Syntax

C#
public IAsyncResult BeginExecuteReader()
Visual Basic
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