次の方法で共有


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
'Usage
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
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 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

See Also

Reference

DataReader Class

DataReader Members

Microsoft.VisualStudio.Data.Framework Namespace

Read