Share via


IAutomaticUpdateApprovalRule.SetUpdateClassifications(UpdateClassificationCollection)

Specifies the classification of updates for which you want to automatically create approvals.

public void SetUpdateClassifications(UpdateClassificationCollectionupdateClassifications);
Public Sub SetUpdateClassifications( _
  ByVal updateClassifications As UpdateClassificationCollection _
)
Implements IAutomaticUpdateApprovalRule.SetUpdateClassifications

Parameters

  • updateClassifications
    An UpdateClassificationCollection collection that contains the classification of updates for which you want to automatically create approvals. For example, the rule applies to security update or critical updates.

Return Value

This method does not return a value.

Exceptions

Exception type Condition
ArgumentNullException updateClassifications cannot be null.

Remarks

To save your changes, call IAutomaticUpdateApprovalRule.Save.

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.

See Also

IAutomaticUpdateApprovalRule.GetUpdateClassifications