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

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULCommand class » BeginExecuteReader methods

BeginExecuteReader() method Next Page

BeginExecuteReader(CommandBehavior) method

Initiates the asynchronous execution of a SQL statement that is described by this ULCommand, using one of the CommandBehavior values, and retrieves the result set.


Visual Basic

Public Function BeginExecuteReader( _
ByVal cmdBehavior As CommandBehavior _
) As IAsyncResult


public IAsyncResult BeginExecuteReader(
CommandBehavior cmdBehavior

Return value

An System.IAsyncResult that can be used to poll, wait for results, or both is returned; this value is also needed when invoking EndExecuteReader(IAsyncResult), which returns an ULDataReader instance that can be used to retrieve the returned rows.

See also