Equation of circle is,
$S \equiv 2 x^{2}+2 y^{2}-3 x+4 y=0 $
$\Rightarrow S \equiv x^{2}+y^{2}-\frac{3}{2} x+2 y=0$
Here, $A B$ is the length of tangent to the circle from $B$
i.e. $A B =\sqrt{(2)^{2}+(1)^{2}-\frac{3}{2}}(2)+2(1) $
$=\sqrt{4+1-3+2}=\sqrt{4}$
$=2$ units