Applies To: Windows Server Update Services
Use this interface to define and enable an automatic approval rule. The approval rule creates approvals for newly synchronized updates that fall within one of the specified update classifications. To get this interface, call the CreateInstallApprovalRule. If you want to apply this automatic approval rule to updates that were synchronized earlier, use the ApplyRule method. The rule applies only to new updates, not to new revisions of an update. Any changes made to this automatic approval rule will not be saved to the database until you call the Save method.
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Gets the type of action that the rule performs.
Gets a value indicating if the server that this rule is associated with supports the Deadline property being set.
Gets or sets an AutomaticUpdateApprovalDeadline to be applied to any updates to which this rule applies.
Gets or sets whether the automatic approval rule is enabled.
Gets the ID of the rule.
Gets or sets the name of the rule.
Applies the defined approval rule against the existing updates on the WSUS server. All updates will be approved if they are not already approved and if they are not declined.
Gets the categories of updates that will be approved automatically by this rule.
Gets the target groups to which this automatic approval rule applies.
Gets the update classifications for which you want to create approvals automatically.
Saves changes to the automatic approval rule settings.
Sets the categories of updates that will be approved automatically by this rule.
Sets the computer groups to which this automatic approval rule applies.
Sets the classification of updates for which you want to create approvals automatically.