Share via


DataReader.NextResult Method

Advances the data reader to the next result set in cases where the reader contains multiple result sets.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

Public MustOverride Function NextResult As Boolean

Dim instance As DataReader
Dim returnValue As Boolean

returnValue = instance.NextResult()
public abstract bool NextResult()
public:
virtual bool NextResult() abstract
public abstract function NextResult() : boolean

Return Value

Type: System.Boolean

true if more results remain to be read and the reader was advanced to the next result; false if no more results were found.

Implements

IVsDataReader.NextResult()

Remarks

Any exception that occurs indicates that a provider-specific error occurred when the reader was advanced to the next result.

Notes to Inheritors:

The derived class must override this method.

Permissions

See Also

Reference

DataReader Class

DataReader Members

Microsoft.VisualStudio.Data.Framework Namespace

Read