Condividi tramite


ManagementGroup.GetMonitoringRelationshipClasses Method (String)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of monitoring relationship classes that have the specified name.

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

Syntax

[ObsoleteAttribute("Please use EntityTypes.GetMonitoringRelationshipClasses()")]
public ReadOnlyCollection<MonitoringRelationshipClass> GetMonitoringRelationshipClasses(
    string typeName
)
public:
[ObsoleteAttribute("Please use EntityTypes.GetMonitoringRelationshipClasses()")]
ReadOnlyCollection<MonitoringRelationshipClass^>^ GetMonitoringRelationshipClasses(
    String^ typeName
)
[<ObsoleteAttribute("Please use EntityTypes.GetMonitoringRelationshipClasses()")>]
member GetMonitoringRelationshipClasses : 
        typeName:string -> ReadOnlyCollection<MonitoringRelationshipClass>
<ObsoleteAttribute("Please use EntityTypes.GetMonitoringRelationshipClasses()")>
Public Function GetMonitoringRelationshipClasses (
    typeName As String
) As ReadOnlyCollection(Of MonitoringRelationshipClass)

Parameters

  • typeName
    Type: System.String

    The name of the relationship classes to get.

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringRelationshipClass>

Returns aReadOnlyCollection<T> object ofMonitoringRelationshipClass objects.

See Also

GetMonitoringRelationshipClasses Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top