Partager via


IAutomaticUpdateApprovalRule.Enabled Property

 

Applies To: Windows Server Update Services

Gets or sets whether the automatic approval rule is enabled.

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

Syntax

bool Enabled { get; set; }
property bool Enabled {
    bool get();
    void set(bool value);
}
abstract Enabled : bool with get, set
Property Enabled As Boolean

Property Value

Type: System.Boolean

If true, the automatic approval rule is enabled and will be run when new updates are synchronized. If false, the rule is disabled and will not be run. All other properties are subsequently ignored.

Remarks

To save your changes, call Save.

See Also

IAutomaticUpdateApprovalRule Interface
Microsoft.UpdateServices.Administration Namespace

Return to top