IAutomaticUpdateApprovalRule.SetCategories Method (UpdateCategoryCollection)

 

Applies To: Windows Server Update Services

Sets the categories of updates that will be approved automatically by this rule.

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

Syntax

void SetCategories(
    UpdateCategoryCollection categories
)
void SetCategories(
    UpdateCategoryCollection^ categories
)
abstract SetCategories : 
        categories:UpdateCategoryCollection -> unit
Sub SetCategories (
    categories As UpdateCategoryCollection
)

Parameters

Remarks

These categories specify the product or product type to which the rule applies. When an update belongs to one of these categories and (optionally) one of the specified classifications, it will be approved for the specified action for the specified computer target groups.

See Also

IAutomaticUpdateApprovalRule Interface
Microsoft.UpdateServices.Administration Namespace

Return to top