Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
启动由此 SACommand 说明的 SQL 语句或存储过程的异步执行,并从数据库服务器中检索一个或多个结果集。
Public Function BeginExecuteReader() As IAsyncResult
public IAsyncResult BeginExecuteReader()
可只用于进行轮询、只用于等待结果或同时用于这两者的 System.IAsyncResult;调用 EndExecuteReader(IAsyncResult)(返回可用于检索返回行的 SADataReader 对象)时也需要此值。
SAException 类 执行命令文本期间出现的任何错误。
对于 asynchronous 命令,参数顺序必须与 CommandText 保持一致。