ManagementGroup.GetMonitoringRelationshipObjectsBySourceMonitoringClass 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 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
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.