IUpdateCategory.ProhibitsSubcategories

Retrieves a value that indicates if the category allows subcategories.

public bool ProhibitsSubcategories {get;}
Public ReadOnly Property ProhibitsSubcategories As bool

Property Value

True if the category does not allow subcategories; otherwise, false.

Remarks

If the value of IUpdateCategory.Type is UpdateCategoryType.Product, ProhibitsSubcategories is true.

If true, IUpdateCategory.GetSubcategories will be empty.

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.