Sets a progress meter.
eOk if the progress meter was successfully set; otherwise, the method returns an appropriate error code.