Specifying Update Classifications to Synchronize
Applies To: Windows Server Update Services
Updates for a product are grouped into classifications, for example, critical updates or security updates. To retrieve a list of possible classifications, call IUpdateServer.GetUpdateClassifications.
To specify the classification of updates that you want to receive, call ISubscription.SetUpdateClassifications. To create the collection of classifications that you pass to SetUpdateClassifications, you can either:
Call ISubscription.GetUpdateClassifications and add or remove classifications from the collection as appropriate.
Create and populate a new classification collection to pass to SetUpdateClassifications as shown in the Specifying Updates to Synchronize example.
When Microsoft Update defines a new category, it is automatically downloaded to the WSUS server during the synchronization process. To determine the classifications that were added since you last updated the synchronization settings, call IUpdateServer.GetUpdateClassifications(DateTime, DateTime). Set the fromSyncDate parameter to ISubscription.LastModifiedTime.