Mimer SQL Data Provider help
ExecuteReader(CommandBehavior) Method




Mimer.Data.Client Namespace > MimerCommand Class > ExecuteReader Method : ExecuteReader(CommandBehavior) Method
A System.Data.CommandBehavior value that specifies a description of the results of the query and its effect on the database.
Executes the CommandText by the server at the specified Connection using the System.Data.CommandBehavior and returns a MimerDataReader.
Syntax
'Declaration
 
Public Overloads Shadows Function ExecuteReader( _
   ByVal behavior As CommandBehavior _
) As MimerDataReader
public new MimerDataReader ExecuteReader( 
   CommandBehavior behavior
)
public function ExecuteReader( 
    behavior: CommandBehavior
): MimerDataReader; 
public hide function ExecuteReader( 
   behavior : CommandBehavior
) : MimerDataReader;
public: new MimerDataReader* ExecuteReader( 
   CommandBehavior behavior
) 

Parameters

behavior
A System.Data.CommandBehavior value that specifies a description of the results of the query and its effect on the database.

Return Value

The created MimerDataReader object.
Exceptions
ExceptionDescription
The Connection is not Open or statement is being used after Leave Retain.
A database server error occurred while executing the statement.
The data value of a parameter value was too large or too small to be converted to the database type.
The format of the value of one of the Parameters was invalid, or the application data type can not be converted to the target database type.
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 2.0 or later

See Also

Reference

MimerCommand Class
MimerCommand Members
Overload List