Udostępnij za pośrednictwem


PartialMonitoringObject.GetMonitoringRelationshipObjects Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Gets the relationships for which this partial monitoring object is a part of, either as a source or target.

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

Syntax

[ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjects")]
public ReadOnlyCollection<MonitoringRelationshipObject> GetMonitoringRelationshipObjects()
public:
[ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjects")]
ReadOnlyCollection<MonitoringRelationshipObject^>^ GetMonitoringRelationshipObjects()
[<ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjects")>]
member GetMonitoringRelationshipObjects : unit -> ReadOnlyCollection<MonitoringRelationshipObject>
<ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjects")>
Public Function GetMonitoringRelationshipObjects As ReadOnlyCollection(Of MonitoringRelationshipObject)

Return Value

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

Returns ReadOnlyCollection<T> of MonitoringRelationshipObject objects.

Examples

For a code example that uses this method, see How to Display Information about a Monitoring Object

See Also

PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top