Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves the monitoring module type that has the specified name and is contained in the specified management pack.
Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use Monitoring.GetModuleType()")]
public ManagementPackModuleType GetMonitoringModuleType(
    string typeName,
    ManagementPack managementPack
)
public:
[ObsoleteAttribute("Please use Monitoring.GetModuleType()")]
ManagementPackModuleType^ GetMonitoringModuleType(
    String^ typeName,
    ManagementPack^ managementPack
)
[<ObsoleteAttribute("Please use Monitoring.GetModuleType()")>]
member GetMonitoringModuleType : 
        typeName:string *
        managementPack:ManagementPack -> ManagementPackModuleType
<ObsoleteAttribute("Please use Monitoring.GetModuleType()")>
Public Function GetMonitoringModuleType (
    typeName As String,
    managementPack As ManagementPack
) As ManagementPackModuleType
Parameters
- typeName 
 Type: System.String- The name of the module type to get. 
- managementPack 
 Type: Microsoft.EnterpriseManagement.Configuration.ManagementPack- The management pack to search for the module type. 
Return Value
Type: Microsoft.EnterpriseManagement.Configuration.ManagementPackModuleType
Returns aManagementPackModuleType value.
See Also
GetMonitoringModuleType Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top