Magnetic properties of superconductors with uniaxial symmetry