IControlPanel.ControlPanelPage Property

Definition

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

public:
 property Microsoft::Web::Management::Client::ModulePageInfo ^ ControlPanelPage { Microsoft::Web::Management::Client::ModulePageInfo ^ get(); };
public Microsoft.Web.Management.Client.ModulePageInfo ControlPanelPage { get; }
member this.ControlPanelPage : Microsoft.Web.Management.Client.ModulePageInfo
Public ReadOnly Property ControlPanelPage As ModulePageInfo

Property Value

The ModulePageInfo object that represents the Home page.

Examples

The following example shows the page type that is sent to the Microsoft.Web.Management.Client.Connection.EndConfigurationManagement method.

void doEndConfigMgmt(IServiceProvider sp) {

    Connection con = (Connection)sp.GetService(typeof(Connection));
    bool b = con.EndConfigurationManagement();
    if (b != true)
        ShowMessage("EndConfigurationManagement returned false", "Error");

}

Applies to