ServiceModuleProvider.GetModuleDefinition(IManagementContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the module definition of the service module provider for the specified context.
public:
override Microsoft::Web::Management::Server::ModuleDefinition ^ GetModuleDefinition(Microsoft::Web::Management::Server::IManagementContext ^ context);
public override Microsoft.Web.Management.Server.ModuleDefinition GetModuleDefinition (Microsoft.Web.Management.Server.IManagementContext context);
override this.GetModuleDefinition : Microsoft.Web.Management.Server.IManagementContext -> Microsoft.Web.Management.Server.ModuleDefinition
Public Overrides Function GetModuleDefinition (context As IManagementContext) As ModuleDefinition
Parameters
- context
- IManagementContext
A IManagementContext interface that represents the calling host's management context.
Returns
A new ModuleDefinition object that is associated with the specified context, or null
if the context is null
or if the context is not a local connection.