The basic idea is to reflect a beam of X-rays from a surface and to measure the intensity of X-rays reflected in the specular direction (reflected angle equal to incident angle).
The ratio of reflected intensity to incident intensity is the X-ray reflectivity for the surface.