Share via


PartialMonitoringObject.GetMonitoringRelationshipObjects Method

Definition

Caution

Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjects

Gets the relationships of which this PartialMonitoringObject is a part (either source or target).

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObject ^> ^ GetMonitoringRelationshipObjects();
[System.Obsolete("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjects")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject> GetMonitoringRelationshipObjects ();
member this.GetMonitoringRelationshipObjects : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject>
Public Function GetMonitoringRelationshipObjects () As ReadOnlyCollection(Of MonitoringRelationshipObject)

Returns

A collection of relationships containing this PartialMonitoringObject.

Attributes

Examples

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

Applies to