It will do if you just want to clear the codes (which will probably return).
It usually is not enough when you want to repair the problem that causes the MIL to go on. For that you will need at least to be able to read live data (sensor values etc.).