DB2DataReader.NextResult Method
Advances the DB2DataReader to the next result, when reading the results of batch SQL statements or a multiple-result-set stored procedure.
- Namespace:
IBM.Data.DB2
- Assembly:
IBM.Data.DB2
(inIBM.Data.DB2.dll
)
Syntax
[Visual Basic]
Public Function NextResult() As Boolean
[C#]
public bool NextResult();
[C++]
public: bool NextResult();
[JScript]
public function NextResult() : Boolean;
Return value
true
if there are more result sets; otherwise, false
.
Remarks
Used to process multiple results, which can be generated by executing batch SQL statements or a multiple-result-set stored procedure.
By default, the DB2®DataReader is positioned on the first result.