ISubscription.GetUpdateClassifications()

Retrieves the classifications of updates that the WSUS server synchronizes. For example, security or critical updates.

public UpdateClassificationCollection GetUpdateClassifications();
Public Function GetUpdateClassifications() As UpdateClassificationCollection
Implements ISubscription.GetUpdateClassifications

Parameters

This method has no parameters.

Return Values

An UpdateClassificationCollection collection that contains the classifications of updates that the WSUS server synchronizes.

Remarks

The collection contains a snapshot of the classifications that are defined at the time you retrieved the ISubscription instance. It is possible for the list of classifications to be updated after you retrieve the instance.

To specify the classifications that the WSUS server synchronizes, call ISubscription.SetUpdateClassifications. If you call GetUpdateClassifications after calling SetUpdateClassifications, the collection that GetUpdateClassifications returns will not reflect your changes.

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.