Mimer SQL Data Provider
ExecuteReader() Method




Mimer.Data.Client Namespace > MimerBatch Class > ExecuteReader Method : ExecuteReader() Method
Executes the batch against its connection, returning a MimerDataReader which can be used to access the results.
Syntax
'Usage
 
Dim instance As MimerBatch
Dim value As MimerDataReader
 
value = instance.ExecuteReader()
public MimerDataReader ExecuteReader()
public function ExecuteReader(): MimerDataReader; 
public function ExecuteReader() : MimerDataReader;
public: MimerDataReader* ExecuteReader(); 

Return Value

The created MimerDataReader object.
Exceptions
ExceptionDescription
Dispose has been called for the MimerBatch
No Connection has been set on the MimerBatch or the connection is not Open.
Remarks
This statement is typically used when the result of the SQL statement is a result set. However, any type of statement can be processed with the MimerDataReader. The FieldCount property returns a non-zero value for a result set and zero otherwise.
Requirements

.NET Framework
Version 4.6.2 or later

See Also

Reference

MimerBatch Class
MimerBatch Members
Overload List