Executes the CommandText against the ActiveConnection and builds an IDataReader.
[Visual Basic] Overloads Overrides Public Sub Execute( _ ByRef reader As IDataReader _ ) [C#] public override void Execute( ref IDataReader reader ); [C++] public: override void Execute( IDataReader** reader ); [JScript] public override function Execute( reader : IDataReader );
Exception Type | Condition |
---|---|
Exception | The command could not be executed. |
SQLCommand Class | SQLCommand Members | System.Data.SQL Namespace | SQLCommand.Execute Overload List