The flux of a magnetic field over a closed surface is zero.
The integration of magnetic field over a closed surface is: