Share via


IUpdateCategory.GetSubcategories()

Retrieves the subcategories of this category.

public UpdateCategoryCollection GetSubcategories();
Public Function GetSubcategories() As UpdateCategoryCollection
Implements IUpdateCategory.GetSubcategories

Parameters

This method has no parameters.

Return Values

An UpdateCategoryCollection collection that contains the subcategories of this category. The collection is empty if the category does not contain subcategories.

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 IUpdateCategory.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 and the Windows XP family.

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.