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


UpdateScope.Categories Property

 

Applies To: Windows Server Update Services

Gets or sets the list of update categories to search. An update will be included only if it belongs to at least one of these groups. If the list is empty, then no filtering will be done based on category; updates from all categories will be included. Defaults to empty.

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

Syntax

public UpdateCategoryCollection Categories { get; }
public:
property UpdateCategoryCollection^ Categories {
    UpdateCategoryCollection^ get();
}
member Categories : UpdateCategoryCollection with get
Public ReadOnly Property Categories As UpdateCategoryCollection

Property Value

Type: Microsoft.UpdateServices.Administration.UpdateCategoryCollection

The list of update categories to search. An update will be included only if it belongs to at least one of these groups. If the list is empty, then no filtering will be done based on category; updates from all categories will be included. Defaults to empty.

Exceptions

Exception

Condition

ArgumentNullException

value cannot be null.

See Also

UpdateScope Class
Microsoft.UpdateServices.Administration Namespace

Return to top