IAutomaticUpdateApprovalRule.SetUpdateClassifications Method (UpdateClassificationCollection)
Applies To: Windows Server Update Services
Sets the classification of updates for which you want to create approvals automatically.
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
updateClassifications
Type: Microsoft.UpdateServices.Administration.UpdateClassificationCollectionAn UpdateClassificationCollection collection that contains the classification of updates for which you want to automatically create approvals. For example, the rule applies to security updates or critical updates.
Exceptions
Exception
Condition
updateClassifications cannot be null.
Remarks
To save your changes, call Save.
See Also
IAutomaticUpdateApprovalRule Interface
Microsoft.UpdateServices.Administration Namespace
Return to top