IControlPanel Interface
TOC
Collapse the table of content
Expand the table of content

IControlPanel Interface

IIS 7.0
 

Provides functionality for managing the list of features available in the connection.

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

public interface IControlPanel

NameDescription
System_CAPS_pubpropertyCategorizations

Gets the collection of categories that have been registered for the Home page of a connection in IIS Manager.

System_CAPS_pubpropertyControlPanelPage

Gets the ModulePageInfo object that represents the Home page of a connection in IIS Manager.

System_CAPS_pubpropertyPages

Gets the collection of items registered by a specific module.

NameDescription
System_CAPS_pubmethodGetCategories(String)

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

System_CAPS_pubmethodGetCategory(String, ModulePageInfo)

Retrieves the Home page category of the feature that is associated with the specified category string.

System_CAPS_pubmethodGetPage(Type)

Retrieves the feature that has the specified type.

System_CAPS_pubmethodGetPages(Module)

Retrieves the collection of features that are registered in the specified module.

System_CAPS_pubmethodGetPages(String, String)

Retrieves the collection of features that are registered in the specified category.

System_CAPS_pubmethodRegisterCategory(ControlPanelCategoryInfo)

Registers a new category of features in the Home page.

System_CAPS_pubmethodRegisterHomepage(ModulePageInfo)

Registers the Home page that is associated with the connection.

System_CAPS_pubmethodRegisterPage(ModulePageInfo)

Registers a new feature with the Home page without categorizing it.

System_CAPS_pubmethodRegisterPage(String, ModulePageInfo)

Registers a new item in a Home page category.

The IControlPanel interface exposes all the methods required to interact with the Home page of each connection object in IIS Manager. These methods enable you to perform such actions as registering pages, adding new categories, and getting the list of pages.

The IControlPanel methods and properties are scoped to a single connection. A module should use this interface at initialization to register features for display in the connection's Home page.

The following example registers a feature in the Home page for a connection.

Return to top
Show:
© 2016 Microsoft