Using the background field method, we, in the large N f approximation, calculate the beta function of scalar quantum electrodynamics at the first nontrivial order in 1/N f by two different ways. In the first way, we get the result by summing all the graphs contributing directly. In the second way, we begin with the Borel transform of the related two point Green's function. The main results are that the beta function is fully determined by a simple function and can be expressed as an analytic expression with a finite radius of convergence, and the scheme-dependent renormalized Borel transform of the two point Green's function suffers from renormalons.