Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere .NET 2.0 API Reference » SACommand class » BeginExecuteNonQuery methods

BeginExecuteNonQuery() method Next Page

BeginExecuteNonQuery(AsyncCallback, Object) method


Initiates the asynchronous execution of a SQL statement or stored procedure that is described by this SACommand, given a callback procedure and state information.

Syntax

Visual Basic

Public Function BeginExecuteNonQuery( _
ByVal callback As AsyncCallback, _
ByVal stateObject As Object _
) As IAsyncResult

C#

public IAsyncResult BeginExecuteNonQuery(
AsyncCallback callback,
object stateObject
);

Parameters
Return value

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

See also