Freigeben über


ManagementGroup.GetMonitoringRelationshipClass Method (String, ManagementPack)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the monitoring relationship class that has the specified name and that is contained in the specified management pack.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Please use EntityTypes.GetMonitoringRelationshipClass()")]
public MonitoringRelationshipClass GetMonitoringRelationshipClass(
    string typeName,
    ManagementPack managementPack
)
public:
[ObsoleteAttribute("Please use EntityTypes.GetMonitoringRelationshipClass()")]
MonitoringRelationshipClass^ GetMonitoringRelationshipClass(
    String^ typeName,
    ManagementPack^ managementPack
)
[<ObsoleteAttribute("Please use EntityTypes.GetMonitoringRelationshipClass()")>]
member GetMonitoringRelationshipClass : 
        typeName:string *
        managementPack:ManagementPack -> MonitoringRelationshipClass
<ObsoleteAttribute("Please use EntityTypes.GetMonitoringRelationshipClass()")>
Public Function GetMonitoringRelationshipClass (
    typeName As String,
    managementPack As ManagementPack
) As MonitoringRelationshipClass

Parameters

  • typeName
    Type: System.String

    The name of the relationship class to get.

Return Value

Type: Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass

Returns aMonitoringRelationshipClass object.

See Also

GetMonitoringRelationshipClass Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top