OleDbDataReader.NextResult 方法
定义
在读取一批 SQL 语句的结果时,使数据读取器前进到下一个结果。Advances the data reader to the next result, when reading the results of batch SQL statements.
public:
override bool NextResult();
public:
virtual bool NextResult();
public override bool NextResult ();
public bool NextResult ();
override this.NextResult : unit -> bool
abstract member NextResult : unit -> bool
override this.NextResult : unit -> bool
Public Overrides Function NextResult () As Boolean
Public Function NextResult () As Boolean
返回
如果存在多个结果集,则为 true;否则为 false。true if there are more result sets; otherwise, false.
实现
注解
用于处理可通过执行批处理 SQL 语句生成的多个结果。Used to process multiple results that can be generated by executing batch SQL statements.
默认情况下,数据读取器定位在第一个结果上。By default, the data reader is positioned on the first result.