SqlDataReader.NextResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Advances the data reader to the next result, when reading the results of batch Transact-SQL statements.
public:
override bool NextResult();
public:
virtual bool NextResult();
public override bool NextResult ();
public bool NextResult ();
override this.NextResult : unit -> bool
abstract member NextResult : unit -> bool
override this.NextResult : unit -> bool
Public Overrides Function NextResult () As Boolean
Public Function NextResult () As Boolean
Returns
true
if there are more result sets; otherwise false
.
Implements
Remarks
Used to process multiple results, which can be generated by executing batch Transact-SQL statements.
By default, the data reader is positioned on the first result.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.