Share via


ManagementGroup.GetMonitoringRelationshipObjectsBySourceMonitoringClass Method

Definition

Retrieves a collection of monitoring relationship objects from the management group by specifying a source class to define the range of the returned results.

Overloads

GetMonitoringRelationshipObjectsBySourceMonitoringClass(MonitoringClass)
Obsolete.

Retrieves a collection of relationships scoping by the source monitoring class type, including derived types.

GetMonitoringRelationshipObjectsBySourceMonitoringClass(MonitoringRelationshipObjectGenericCriteria, MonitoringClass)
Obsolete.

Retrieves a collection of relationships by criteria further scoping by the source monitoring class type, including derived types.

GetMonitoringRelationshipObjectsBySourceMonitoringClass(MonitoringClass)

Caution

Please use EntityObjects.GetMonitoringRelationshipObjectsBySourceMonitoringClass()

Retrieves a collection of relationships scoping by the source monitoring class type, including derived types.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObject ^> ^ GetMonitoringRelationshipObjectsBySourceMonitoringClass(Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^ sourceMonitoringClass);
[System.Obsolete("Please use EntityObjects.GetMonitoringRelationshipObjectsBySourceMonitoringClass()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject> GetMonitoringRelationshipObjectsBySourceMonitoringClass (Microsoft.EnterpriseManagement.Configuration.MonitoringClass sourceMonitoringClass);
member this.GetMonitoringRelationshipObjectsBySourceMonitoringClass : Microsoft.EnterpriseManagement.Configuration.MonitoringClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject>
Public Function GetMonitoringRelationshipObjectsBySourceMonitoringClass (sourceMonitoringClass As MonitoringClass) As ReadOnlyCollection(Of MonitoringRelationshipObject)

Parameters

sourceMonitoringClass
MonitoringClass

The class to filter by, includes derived classes

Returns

A collection a Relationship objects.

Attributes

Remarks

This will exclude deleted relationships.

Applies to

GetMonitoringRelationshipObjectsBySourceMonitoringClass(MonitoringRelationshipObjectGenericCriteria, MonitoringClass)

Caution

Please use EntityObjects.GetMonitoringRelationshipObjectsBySourceMonitoringClass()

Retrieves a collection of relationships by criteria further scoping by the source monitoring class type, including derived types.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObject ^> ^ GetMonitoringRelationshipObjectsBySourceMonitoringClass(Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObjectGenericCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^ sourceMonitoringClass);
[System.Obsolete("Please use EntityObjects.GetMonitoringRelationshipObjectsBySourceMonitoringClass()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject> GetMonitoringRelationshipObjectsBySourceMonitoringClass (Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObjectGenericCriteria criteria, Microsoft.EnterpriseManagement.Configuration.MonitoringClass sourceMonitoringClass);
member this.GetMonitoringRelationshipObjectsBySourceMonitoringClass : Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObjectGenericCriteria * Microsoft.EnterpriseManagement.Configuration.MonitoringClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject>
Public Function GetMonitoringRelationshipObjectsBySourceMonitoringClass (criteria As MonitoringRelationshipObjectGenericCriteria, sourceMonitoringClass As MonitoringClass) As ReadOnlyCollection(Of MonitoringRelationshipObject)

Parameters

criteria
MonitoringRelationshipObjectGenericCriteria

The criteria to filter by.

sourceMonitoringClass
MonitoringClass

The class to filter by, includes derived classes

Returns

A collection a Relationship objects.

Attributes

Remarks

This will include deleted relationships.

Applies to