BeginExecuteNonQuery Method

MySQL Connector/Net

Initiates the asynchronous execution of the SQL statement or stored procedure that is described by this MySqlCommand.

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

Syntax

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

Return Value

An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndExecuteNonQuery(IAsyncResult), which returns the number of affected rows.

See Also