ManagementGroup.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.
Retrieves a collection of monitoring relationship objects from the management group.
Overloads
GetMonitoringRelationshipObjects(MonitoringRelationshipClass, DerivedClassTraversalDepth) |
Obsolete.
Retrieves a collection of relationships of the given type. |
GetMonitoringRelationshipObjects(MonitoringRelationshipObjectGenericCriteria, MonitoringClass, MonitoringClass) |
Obsolete.
Retrieves a collection of relationships by criteria further scoping by the source and target monitoring class type, including derived types. |
GetMonitoringRelationshipObjects(ICollection<MonitoringRelationshipClass>, DerivedClassTraversalDepth) |
Obsolete.
Retrieves a collection of relationships by a collection of relationship types. |
GetMonitoringRelationshipObjects(MonitoringClass, MonitoringClass) |
Obsolete.
Retrieves a collection of relationships scoping by the source and target monitoring class type, including derived types. |
GetMonitoringRelationshipObjects(ICollection<Guid>) |
Obsolete.
This method returns MonitoringRelationshipObject by ids |
GetMonitoringRelationshipObjects(ICollection<MonitoringRelationshipClass>) |
Obsolete.
Retrieves a collection of relationships by a collection of relationship types. |
GetMonitoringRelationshipObjects(MonitoringRelationshipObjectGenericCriteria) |
Obsolete.
This method returns MonitoringRelationshipObject by generic criteria |
GetMonitoringRelationshipObjects(MonitoringRelationshipClass) |
Obsolete.
Retrieves a collection of relationships of the given type. |
GetMonitoringRelationshipObjects(MonitoringRelationshipClass, DerivedClassTraversalDepth)
Caution
Please use EntityObjects.GetMonitoringRelationshipObjects()
Retrieves a collection of relationships of the given type.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObject ^> ^ GetMonitoringRelationshipObjects(Microsoft::EnterpriseManagement::Configuration::MonitoringRelationshipClass ^ relationshipClass, Microsoft::EnterpriseManagement::Configuration::DerivedClassTraversalDepth derivedClassTraversalDepth);
[System.Obsolete("Please use EntityObjects.GetMonitoringRelationshipObjects()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject> GetMonitoringRelationshipObjects (Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass relationshipClass, Microsoft.EnterpriseManagement.Configuration.DerivedClassTraversalDepth derivedClassTraversalDepth);
member this.GetMonitoringRelationshipObjects : Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass * Microsoft.EnterpriseManagement.Configuration.DerivedClassTraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject>
Public Function GetMonitoringRelationshipObjects (relationshipClass As MonitoringRelationshipClass, derivedClassTraversalDepth As DerivedClassTraversalDepth) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
- relationshipClass
- MonitoringRelationshipClass
The class to retrieve the relationships by.
- derivedClassTraversalDepth
- DerivedClassTraversalDepth
Whether or not to include the relationship classes derived classes
Returns
A collection a Relationship objects.
- Attributes
Exceptions
relationshipClass is null.
Applies to
GetMonitoringRelationshipObjects(MonitoringRelationshipObjectGenericCriteria, MonitoringClass, MonitoringClass)
Caution
Please use EntityObjects.GetMonitoringRelationshipObjects()
Retrieves a collection of relationships by criteria further scoping by the source and target monitoring class type, including derived types.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObject ^> ^ GetMonitoringRelationshipObjects(Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObjectGenericCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^ sourceMonitoringClass, Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^ targetMonitoringClass);
[System.Obsolete("Please use EntityObjects.GetMonitoringRelationshipObjects()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject> GetMonitoringRelationshipObjects (Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObjectGenericCriteria criteria, Microsoft.EnterpriseManagement.Configuration.MonitoringClass sourceMonitoringClass, Microsoft.EnterpriseManagement.Configuration.MonitoringClass targetMonitoringClass);
member this.GetMonitoringRelationshipObjects : Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObjectGenericCriteria * Microsoft.EnterpriseManagement.Configuration.MonitoringClass * Microsoft.EnterpriseManagement.Configuration.MonitoringClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject>
Public Function GetMonitoringRelationshipObjects (criteria As MonitoringRelationshipObjectGenericCriteria, sourceMonitoringClass As MonitoringClass, targetMonitoringClass As MonitoringClass) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
The criteria to filter by.
- sourceMonitoringClass
- MonitoringClass
The class to filter by, includes derived classes
- targetMonitoringClass
- MonitoringClass
The class to filter by, includes derived classes.
Returns
A collection a Relationship objects.
- Attributes
Remarks
This will include deleted relationships.
Applies to
GetMonitoringRelationshipObjects(ICollection<MonitoringRelationshipClass>, DerivedClassTraversalDepth)
Caution
Please use EntityObjects.GetMonitoringRelationshipObjects()
Retrieves a collection of relationships by a collection of relationship types.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObject ^> ^ GetMonitoringRelationshipObjects(System::Collections::Generic::ICollection<Microsoft::EnterpriseManagement::Configuration::MonitoringRelationshipClass ^> ^ relationshipClasses, Microsoft::EnterpriseManagement::Configuration::DerivedClassTraversalDepth derivedClassTraversalDepth);
[System.Obsolete("Please use EntityObjects.GetMonitoringRelationshipObjects()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject> GetMonitoringRelationshipObjects (System.Collections.Generic.ICollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass> relationshipClasses, Microsoft.EnterpriseManagement.Configuration.DerivedClassTraversalDepth derivedClassTraversalDepth);
member this.GetMonitoringRelationshipObjects : System.Collections.Generic.ICollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass> * Microsoft.EnterpriseManagement.Configuration.DerivedClassTraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject>
Public Function GetMonitoringRelationshipObjects (relationshipClasses As ICollection(Of MonitoringRelationshipClass), derivedClassTraversalDepth As DerivedClassTraversalDepth) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
- relationshipClasses
- ICollection<MonitoringRelationshipClass>
The type to retrieve the relationships by.
- derivedClassTraversalDepth
- DerivedClassTraversalDepth
Whether or not to include the relationship types derived types.
Returns
A collection a Relationship objects.
- Attributes
Exceptions
relationshipTypes is null.
relationshipTypes is empty
Applies to
GetMonitoringRelationshipObjects(MonitoringClass, MonitoringClass)
Caution
Please use EntityObjects.GetMonitoringRelationshipObjects()
Retrieves a collection of relationships scoping by the source and target monitoring class type, including derived types.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObject ^> ^ GetMonitoringRelationshipObjects(Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^ sourceMonitoringClass, Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^ targetMonitoringClass);
[System.Obsolete("Please use EntityObjects.GetMonitoringRelationshipObjects()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject> GetMonitoringRelationshipObjects (Microsoft.EnterpriseManagement.Configuration.MonitoringClass sourceMonitoringClass, Microsoft.EnterpriseManagement.Configuration.MonitoringClass targetMonitoringClass);
member this.GetMonitoringRelationshipObjects : Microsoft.EnterpriseManagement.Configuration.MonitoringClass * Microsoft.EnterpriseManagement.Configuration.MonitoringClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject>
Public Function GetMonitoringRelationshipObjects (sourceMonitoringClass As MonitoringClass, targetMonitoringClass As MonitoringClass) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
- sourceMonitoringClass
- MonitoringClass
The class to filter by, includes derived classes
- 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
GetMonitoringRelationshipObjects(ICollection<Guid>)
Caution
Please use EntityObjects.GetMonitoringRelationshipObjects()
This method returns MonitoringRelationshipObject by ids
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObject ^> ^ GetMonitoringRelationshipObjects(System::Collections::Generic::ICollection<Guid> ^ ids);
[System.Obsolete("Please use EntityObjects.GetMonitoringRelationshipObjects()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject> GetMonitoringRelationshipObjects (System.Collections.Generic.ICollection<Guid> ids);
member this.GetMonitoringRelationshipObjects : System.Collections.Generic.ICollection<Guid> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject>
Public Function GetMonitoringRelationshipObjects (ids As ICollection(Of Guid)) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
- ids
- ICollection<Guid>
ids
Returns
A collection of MonitoringRelationshipObject.
- Attributes
Applies to
GetMonitoringRelationshipObjects(ICollection<MonitoringRelationshipClass>)
Caution
Please use EntityObjects.GetMonitoringRelationshipObjects()
Retrieves a collection of relationships by a collection of relationship types.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObject ^> ^ GetMonitoringRelationshipObjects(System::Collections::Generic::ICollection<Microsoft::EnterpriseManagement::Configuration::MonitoringRelationshipClass ^> ^ relationshipClasses);
[System.Obsolete("Please use EntityObjects.GetMonitoringRelationshipObjects()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject> GetMonitoringRelationshipObjects (System.Collections.Generic.ICollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass> relationshipClasses);
member this.GetMonitoringRelationshipObjects : System.Collections.Generic.ICollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject>
Public Function GetMonitoringRelationshipObjects (relationshipClasses As ICollection(Of MonitoringRelationshipClass)) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
- relationshipClasses
- ICollection<MonitoringRelationshipClass>
The type to retrieve the relationships by.
Returns
A collection a Relationship objects.
- Attributes
Exceptions
relationshipTypes is null.
relationshipTypes is empty
Applies to
GetMonitoringRelationshipObjects(MonitoringRelationshipObjectGenericCriteria)
Caution
Please use EntityObjects.GetMonitoringRelationshipObjects()
This method returns MonitoringRelationshipObject by generic criteria
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObject ^> ^ GetMonitoringRelationshipObjects(Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObjectGenericCriteria ^ criteria);
[System.Obsolete("Please use EntityObjects.GetMonitoringRelationshipObjects()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject> GetMonitoringRelationshipObjects (Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObjectGenericCriteria criteria);
member this.GetMonitoringRelationshipObjects : Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObjectGenericCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject>
Public Function GetMonitoringRelationshipObjects (criteria As MonitoringRelationshipObjectGenericCriteria) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
The criteria.
Returns
A collection of MonitoringRelationshipObjects.
- Attributes
Applies to
GetMonitoringRelationshipObjects(MonitoringRelationshipClass)
Caution
Please use EntityObjects.GetMonitoringRelationshipObjects()
Retrieves a collection of relationships of the given type.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringRelationshipObject ^> ^ GetMonitoringRelationshipObjects(Microsoft::EnterpriseManagement::Configuration::MonitoringRelationshipClass ^ relationshipClass);
[System.Obsolete("Please use EntityObjects.GetMonitoringRelationshipObjects()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject> GetMonitoringRelationshipObjects (Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass relationshipClass);
member this.GetMonitoringRelationshipObjects : Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringRelationshipObject>
Public Function GetMonitoringRelationshipObjects (relationshipClass As MonitoringRelationshipClass) As ReadOnlyCollection(Of MonitoringRelationshipObject)
Parameters
- relationshipClass
- MonitoringRelationshipClass
The class to retrieve the relationships by.
Returns
A collection a Relationship objects.
- Attributes
Exceptions
relationshipClass is null.