Retrieving Server Statistics
Applies To: Windows Server Update Services
The UpdateServerStatus class contains summary statistics that summarize the current state of the WSUS server, updates, and the client computers. You can use this class to retrieve a count of the number of clients known to the WSUS server, the number of updates needed by clients, the number of critical and security updates not approved for installation, and the number of approved updates.
To retrieve this class, call IUpdateServer.GetStatus. The statistics reflect the state of the server at the time you retrieved them.