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 server.
Visual Basic Public Function BeginExecuteReader( _ ByVal behavior As CommandBehavior _ ) As IAsyncResult
C# public IAsyncResult BeginExecuteReader( CommandBehavior behavior );
behavior A bitwise combination of CommandBehavior flags describing the results of the query and its effect on the connection.
An 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.
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|