Share via


IUpdateServer.GetUpdateCategories Method ()

 

Applies To: Windows Server Update Services

Gets the list of all update categories that are known to the WSUS server.

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

Syntax

UpdateCategoryCollection GetUpdateCategories()
UpdateCategoryCollection^ GetUpdateCategories()
abstract GetUpdateCategories : unit -> UpdateCategoryCollection
Function GetUpdateCategories As UpdateCategoryCollection

Return Value

Type: Microsoft.UpdateServices.Administration.UpdateCategoryCollection

An UpdateCategoryCollection collection that contains all the categories of updates that are known to the WSUS server. The collection is unordered.

Remarks

A category can represent a company, product family, or product. The root category is the company category. The company category can have one or more subcategories known as product family categories. Product family categories contain one or more product categories. To determine the category's type, use Type. For example, the company category for Microsoft is Microsoft Corporation. The Microsoft Corporation category contains the Windows product family category, which in turn contains product categories, such as the Windows Server 2003 family.

To get a list of categories added during a given time period, call GetUpdateCategories.

See Also

GetUpdateCategories Overload
IUpdateServer Interface
Microsoft.UpdateServices.Administration Namespace

Return to top