To use the WSUS API, you need to reference the Update Services assembly. The assembly is found in the global assembly cache (GAC) at %windir%\Assembly\GAC_MSIL\Microsoft.UpdateServices.Administration\{version}\Microsoft.UpdateServices.Administration.dll.