DbCommand.ExecuteDbDataReader(CommandBehavior) Metodo
Definizione
In caso di override in una classe derivata, esegue il testo del comando sulla connessione.When overridden in a derived class, executes the command text against the connection.
protected:
abstract System::Data::Common::DbDataReader ^ ExecuteDbDataReader(System::Data::CommandBehavior behavior);
protected abstract System.Data.Common.DbDataReader ExecuteDbDataReader (System.Data.CommandBehavior behavior);
abstract member ExecuteDbDataReader : System.Data.CommandBehavior -> System.Data.Common.DbDataReader
Protected MustOverride Function ExecuteDbDataReader (behavior As CommandBehavior) As DbDataReader
Parametri
- behavior
- CommandBehavior
Istanza di CommandBehavior.An instance of CommandBehavior.
Restituisce
Attività che rappresenta l'operazione.A task representing the operation.
Eccezioni
Errore che si è verificato durante l'esecuzione del testo del comando.An error occurred while executing the command text.
Valore di CommandBehavior non valido.An invalid CommandBehavior value.