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
'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
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
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.