ManagementGroup::GetMonitoringRelationshipClass 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 the monitoring relationship class that has the specified name and that is contained in the specified management pack.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: [ObsoleteAttribute("Please use EntityTypes.GetMonitoringRelationshipClass()")] MonitoringRelationshipClass^ GetMonitoringRelationshipClass( String^ typeName, ManagementPack^ managementPack )
Parameters
- typeName
-
Type:
System::String^
The name of the relationship class to get.
- managementPack
-
Type:
Microsoft.EnterpriseManagement.Configuration::ManagementPack^
The management pack to search for the class.
Return Value
Type: Microsoft.EnterpriseManagement.Configuration::MonitoringRelationshipClass^Returns aMonitoringRelationshipClass object.
Show: