IControlPanel.GetCategories Method (String)

IIS 7.0

Retrieves the set of categories that are registered for the specified category type.

Namespace:   Microsoft.Web.Management.Client
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

ReadOnlyCollection<ControlPanelCategoryInfo> GetCategories(
	string categorization


Type: System.String

The category string that was used to register the category.

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ControlPanelCategoryInfo>

A constructed generic System.Collections.ObjectModel.ReadOnlyCollection<T> of ControlPanelCategoryInfo objects that represent the categories that have been registered for the specified category type.

Each category is represented by a ControlPanelCategoryInfo object.

The following example displays all the categories for the Home page of a connection.

Return to top