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 » BeginExecuteReader methods

BeginExecuteReader methods Next Page

BeginExecuteReader() method


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

Syntax

Visual Basic

Public Function BeginExecuteReader() As IAsyncResult

C#

public IAsyncResult BeginExecuteReader();

Return value

An [external link] IAsyncResult that can be used to poll, wait for results, or both; this value is also needed when invoking EndExecuteReader(IAsyncResult), which returns an SADataReader object that can be used to retrieve the returned rows.

See also