Share via


AdoDotNetDataReader.NextResult Method

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

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

Syntax

'Declaration
Public Overrides Function NextResult As Boolean
public override bool NextResult()
public:
virtual bool NextResult() override
abstract NextResult : unit -> bool  
override NextResult : unit -> bool
public override 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 exceptions that occur indicate that A provider-specific error occurred in moving to the next result.

.NET Framework Security

See Also

Reference

AdoDotNetDataReader Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace