Delen 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

'Declaration
Public MustOverride Function NextResult As Boolean
public abstract bool NextResult()
public:
virtual bool NextResult() abstract
abstract NextResult : unit -> bool
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.

.NET Framework Security

See Also

Reference

DataReader Class

Microsoft.VisualStudio.Data Namespace

Read