ISubscription.SetUpdateClassifications Method (UpdateClassificationCollection)

 

Applies To: Windows Server Update Services

Sets the classifications of updates that WSUS synchronizes, for example, security or critical updates.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

void SetUpdateClassifications(
    UpdateClassificationCollection updateClassifications
)
void SetUpdateClassifications(
    UpdateClassificationCollection^ updateClassifications
)
abstract SetUpdateClassifications : 
        updateClassifications:UpdateClassificationCollection -> unit
Sub SetUpdateClassifications (
    updateClassifications As UpdateClassificationCollection
)

Parameters

Exceptions

Exception

Condition

ArgumentNullException

updateClassifications cannot be null.

Remarks

To use the specified classifications in the synchronization process, you must call Save.

For a complete list of classifications, call GetUpdateClassifications.

Note that the classifications of a downstream server are determined by the upstream server. In this configuration, update classifications cannot be modified on the downstream server, and an attempt will result in an exception.

See Also

ISubscription Interface
Microsoft.UpdateServices.Administration Namespace

Return to top