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