Partager via


IUpdateCategory.ProhibitsSubcategories Property

 

Applies To: Windows Server Update Services

Gets whether the category allows subcategories.

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

Syntax

bool ProhibitsSubcategories { get; }
property bool ProhibitsSubcategories {
    bool get();
}
abstract ProhibitsSubcategories : bool with get
ReadOnly Property ProhibitsSubcategories As Boolean

Property Value

Type: System.Boolean

true if the category does not allow subcategories, otherwise false.

Remarks

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

If true, GetSubcategories will be empty.

See Also

IUpdateCategory Interface
Microsoft.UpdateServices.Administration Namespace

Return to top