Share via


DataReader.NextResult Method

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

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.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

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

Remarks

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

Permissions

See Also

Reference

DataReader Class

DataReader Members

Microsoft.VisualStudio.Data Namespace

Read