ManagementGroup.GetMonitoringRelationshipObjectsByTargetMonitoringClass 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.
Retrieves a collection of monitoring relationship objects from the management group by specifying a target class to define the range of results.
Overloads
GetMonitoringRelationshipObjectsByTargetMonitoringClass(MonitoringClass) |
Obsolete.
Retrieves a collection of relationships scoping by the target monitoring class type, including derived types. |
GetMonitoringRelationshipObjectsByTargetMonitoringClass(MonitoringRelationshipObjectGenericCriteria, MonitoringClass) |
Obsolete.
Retrieves a collection of relationships by criteria further scoping by the target monitoring class type, including derived types. |
GetMonitoringRelationshipObjectsByTargetMonitoringClass(MonitoringClass)
Caution
Please use EntityObjects.GetMonitoringRelationshipObjectsByTargetMonitoringClass()
Retrieves a collection of relationships scoping by the target monitoring class type, including derived types.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObject ^> ^ GetMonitoringRelationshipObjectsByTargetMonitoringClass(Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^ targetMonitoringClass);
[System.Obsolete("Please use EntityObjects.GetMonitoringRelationshipObjectsByTargetMonitoringClass()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject> GetMonitoringRelationshipObjectsByTargetMonitoringClass (Microsoft.EnterpriseManagement.Configuration.MonitoringClass targetMonitoringClass);
member this.GetMonitoringRelationshipObjectsByTargetMonitoringClass : Microsoft.EnterpriseManagement.Configuration.MonitoringClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject>
Public Function GetMonitoringRelationshipObjectsByTargetMonitoringClass (targetMonitoringClass As MonitoringClass) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
- targetMonitoringClass
- MonitoringClass
The class to filter by, includes derived classes
Returns
A collection a Relationship objects.
- Attributes
Remarks
This will exclude deleted relationships.
Applies to
GetMonitoringRelationshipObjectsByTargetMonitoringClass(MonitoringRelationshipObjectGenericCriteria, MonitoringClass)
Caution
Please use EntityObjects.GetMonitoringRelationshipObjectsByTargetMonitoringClass()
Retrieves a collection of relationships by criteria further scoping by the target monitoring class type, including derived types.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObject ^> ^ GetMonitoringRelationshipObjectsByTargetMonitoringClass(Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObjectGenericCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^ targetMonitoringClass);
[System.Obsolete("Please use EntityObjects.GetMonitoringRelationshipObjectsByTargetMonitoringClass()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject> GetMonitoringRelationshipObjectsByTargetMonitoringClass (Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObjectGenericCriteria criteria, Microsoft.EnterpriseManagement.Configuration.MonitoringClass targetMonitoringClass);
member this.GetMonitoringRelationshipObjectsByTargetMonitoringClass : Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObjectGenericCriteria * Microsoft.EnterpriseManagement.Configuration.MonitoringClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject>
Public Function GetMonitoringRelationshipObjectsByTargetMonitoringClass (criteria As MonitoringRelationshipObjectGenericCriteria, targetMonitoringClass As MonitoringClass) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
The criteria to filter by.
- targetMonitoringClass
- MonitoringClass
The class to filter by, includes derived classes
Returns
A collection a Relationship objects.
- Attributes
Remarks
This will include deleted relationships.