Share via


IManagementHost.CreateHostModule Method

Definition

Returns the host module.

public:
 Microsoft::Web::Management::Client::Module ^ CreateHostModule();
public Microsoft.Web.Management.Client.Module CreateHostModule ();
abstract member CreateHostModule : unit -> Microsoft.Web.Management.Client.Module
Public Function CreateHostModule () As Module

Returns

The host Module object.

Examples

The following example shows an implementation of the CreateHostModule method.

Module IManagementHost.CreateHostModule() {
    return new MyDefaultHostModule();
} 

Applies to