PartialMonitoringObject.GetMonitoringRelationshipObjects Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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