Поделиться через


IAutomaticUpdateApprovalRule.Action Property

 

Applies To: Windows Server Update Services

Gets the type of action that the rule performs.

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

Syntax

AutomaticUpdateApprovalAction Action { get; }
property AutomaticUpdateApprovalAction Action {
    AutomaticUpdateApprovalAction get();
}
abstract Action : AutomaticUpdateApprovalAction with get
ReadOnly Property Action As AutomaticUpdateApprovalAction

Property Value

Type: Microsoft.UpdateServices.Administration.AutomaticUpdateApprovalAction

The type of action that the rule performs. For possible values, see AutomaticUpdateApprovalAction.

Exceptions

Exception

Condition

ArgumentOutOfRangeException

The property was set to an invalid value.

Remarks

This is the approval action for which the rule will automatically approve updates. When an update belongs to one of the classifications to which the rule applies, it will be approved for this sction for the specified computer groups.

See Also

IAutomaticUpdateApprovalRule Interface
Microsoft.UpdateServices.Administration Namespace

Return to top