ManagementGroup.GetMonitoringClass Method (String, ManagementPack)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a monitoring class that matches the specified class and is contained in the specified management pack.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use EntityTypes.EntityType.GetClass()")]
public MonitoringClass GetMonitoringClass(
string className,
ManagementPack managementPack
)
public:
[ObsoleteAttribute("Please use EntityTypes.EntityType.GetClass()")]
MonitoringClass^ GetMonitoringClass(
String^ className,
ManagementPack^ managementPack
)
[<ObsoleteAttribute("Please use EntityTypes.EntityType.GetClass()")>]
member GetMonitoringClass :
className:string *
managementPack:ManagementPack -> MonitoringClass
<ObsoleteAttribute("Please use EntityTypes.EntityType.GetClass()")>
Public Function GetMonitoringClass (
className As String,
managementPack As ManagementPack
) As MonitoringClass
Parameters
className
Type: System.StringThe name of the class to retrieve.
managementPack
Type: Microsoft.EnterpriseManagement.Configuration.ManagementPackThe management pack that contains the class.
Return Value
Type: Microsoft.EnterpriseManagement.Configuration.MonitoringClass
Returns aMonitoringClass object.
See Also
GetMonitoringClass Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top