共用方式為


DataReader.NextResult Method

Definition

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

public:
 abstract bool NextResult();
public abstract bool NextResult ();
abstract member NextResult : unit -> bool
Public MustOverride Function NextResult () As Boolean

Returns

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.

Applies to