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

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » SQL Anywhere 数据访问 API » SQL Anywhere .NET 2.0 API 参考 » iAnywhere.Data.SQLAnywhere 命名空间 (.NET 2.0) » SACommand 类 » BeginExecuteReader 方法

 

BeginExecuteReader() 方法

启动由此 SACommand 说明的 SQL 语句或存储过程的异步执行,并从数据库服务器中检索一个或多个结果集。

语法
Visual Basic

Public Function BeginExecuteReader() As IAsyncResult
C#

public IAsyncResult BeginExecuteReader();
返回值

可只用于进行轮询、只用于等待结果或作轮询和等待结果这两种用途的 [external link] IAsyncResult;调用 EndExecuteReader(IAsyncResult)(返回可用于检索返回行的 SADataReader 对象)时也需要此值。

另请参见