NextResult method

Advances the SADataReader to the next result, when reading the results of batch SQL statements.

Syntax
Visual Basic

Public Overrides Function NextResult() As Boolean
C#

public override bool NextResult();
Return value

Returns true if there are more result sets. Otherwise, it returns false.

Remarks

Used to process multiple results, which can be generated by executing batch SQL statements.

By default, the data reader is positioned on the first result.

See also