BeginExecuteNonQuery 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.

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

Syntax

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