Retrieves the update classifications that were added within the specified date range.
public UpdateClassificationCollection GetUpdateClassifications( DateTime fromSyncDate, DateTime toSyncDate );
Public Function GetUpdateClassifications( _ ByVal fromSyncDate As DateTime, _ ByVal toSyncDate As DateTime _ ) As UpdateClassificationCollection Implements IUpdateServer.GetUpdateClassifications
Begin date that is used to search for classifications that were added locally to the WSUS server. Specify the date in Coordinated Universal Time.
End date that is used to search for classifications that were added locally to the WSUS server. Specify the date in Coordinated Universal Time.
An UpdateCategoryCollection collection that contains the classifications that were added during the specified date range (inclusively). The collection is unordered.
Classifications define a grouping of updates. For example, Security Updates, Critical Updates, or Driver Updates. You can select the classifications that you want to subscribe to from the collection and pass the list to ISubscription.SetUpdateClassifications.
To retrieve a list of all known classifications, call IUpdateServer.GetUpdateClassifications().
|Server||Requires Windows Server 2003 or Windows 2000 Server SP4 and later.|
Defined in Microsoft.UpdateServices.Administration.
Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).
Requires .NET Framework 1.1.