Partager via


AdoDotNetReader.NextResult Method

Advances the data reader to the next result if the reader contains multiple results.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.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
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 exceptions that occur indicate that a provider-specific error occurred when the data reader was moving to the next result.

.NET Framework Security

See Also

Reference

AdoDotNetReader Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace