Share via


PartialMonitoringObjectBase.GetRelatedPartialMonitoringObjects Method

Definition

Gets all the partial monitoring objects that are related to this object.

Overloads

GetRelatedPartialMonitoringObjects()

This method will find any PartialMonitoringObject instances that are related to this MonitoringObject by any containment relationship.

GetRelatedPartialMonitoringObjects(TraversalDepth)

This method will find any PartialMonitoringObject instances that are related to this MonitoringObject by any containment relationship.

GetRelatedPartialMonitoringObjects(ManagementPackClass)

This method will find any MonitoringObject instances that are related to this MonitoringObject by any containment relationship of the given type and any derived types, allowing for abstract types to be specified.

GetRelatedPartialMonitoringObjects(MonitoringRelationshipClass)

This method will find any PartialMonitoringObject instances that share the given relationshipType with this object.

GetRelatedPartialMonitoringObjects(MonitoringObjectGenericCriteria)

This method will find any PartialMonitoringObject instances that are related to this MonitoringObject by any containment relationship of the given type with the specified criteria.

GetRelatedPartialMonitoringObjects(ManagementPackClass, TraversalDepth)

This method will find any PartialMonitoringObject instances that are related to this MonitoringObject by any containment relationship of the given type and any derived types, allowing for abstract types to be specified.

GetRelatedPartialMonitoringObjects(MonitoringRelationshipClass, TraversalDepth)

This method will find any PartialMonitoringObject instances that share the given relationshipType with this object.

GetRelatedPartialMonitoringObjects(MonitoringObjectGenericCriteria, TraversalDepth)

This method will find any PartialMonitoringObject instances that are related to this MonitoringObject by any containment relationship of the given type with the specified criteria.

GetRelatedPartialMonitoringObjects()

This method will find any PartialMonitoringObject instances that are related to this MonitoringObject by any containment relationship.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject ^> ^ GetRelatedPartialMonitoringObjects();
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject> GetRelatedPartialMonitoringObjects ();
member this.GetRelatedPartialMonitoringObjects : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject>
Public Function GetRelatedPartialMonitoringObjects () As ReadOnlyCollection(Of PartialMonitoringObject)

Returns

A collection of PartialMonitoringObject objects.

Applies to

GetRelatedPartialMonitoringObjects(TraversalDepth)

This method will find any PartialMonitoringObject instances that are related to this MonitoringObject by any containment relationship.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject ^> ^ GetRelatedPartialMonitoringObjects(Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject> GetRelatedPartialMonitoringObjects (Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetRelatedPartialMonitoringObjects : Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject>
Public Function GetRelatedPartialMonitoringObjects (traversalDepth As TraversalDepth) As ReadOnlyCollection(Of PartialMonitoringObject)

Parameters

traversalDepth
TraversalDepth

Whether to recurse down the "Containment" relationship instance space for this monitoring object.

Returns

A collection of PartialMonitoringObject objects.

Applies to

GetRelatedPartialMonitoringObjects(ManagementPackClass)

This method will find any MonitoringObject instances that are related to this MonitoringObject by any containment relationship of the given type and any derived types, allowing for abstract types to be specified.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject ^> ^ GetRelatedPartialMonitoringObjects(Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject> GetRelatedPartialMonitoringObjects (Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass);
member this.GetRelatedPartialMonitoringObjects : Microsoft.EnterpriseManagement.Configuration.ManagementPackClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject>
Public Function GetRelatedPartialMonitoringObjects (managementPackClass As ManagementPackClass) As ReadOnlyCollection(Of PartialMonitoringObject)

Parameters

managementPackClass
ManagementPackClass

The type to query by.

Returns

A collection of MonitoringObject objects.

Exceptions

managementPackClass is null.

Applies to

GetRelatedPartialMonitoringObjects(MonitoringRelationshipClass)

This method will find any PartialMonitoringObject instances that share the given relationshipType with this object.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject ^> ^ GetRelatedPartialMonitoringObjects(Microsoft::EnterpriseManagement::Configuration::MonitoringRelationshipClass ^ relationshipClass);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject> GetRelatedPartialMonitoringObjects (Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass relationshipClass);
member this.GetRelatedPartialMonitoringObjects : Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject>
Public Function GetRelatedPartialMonitoringObjects (relationshipClass As MonitoringRelationshipClass) As ReadOnlyCollection(Of PartialMonitoringObject)

Parameters

relationshipClass
MonitoringRelationshipClass

The relationship class to query for.

Returns

A collection of PartialMonitoringObject objects.

Exceptions

relationshipType is null.

Applies to

GetRelatedPartialMonitoringObjects(MonitoringObjectGenericCriteria)

This method will find any PartialMonitoringObject instances that are related to this MonitoringObject by any containment relationship of the given type with the specified criteria.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject ^> ^ GetRelatedPartialMonitoringObjects(Microsoft::EnterpriseManagement::Monitoring::MonitoringObjectGenericCriteria ^ criteria);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject> GetRelatedPartialMonitoringObjects (Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria criteria);
member this.GetRelatedPartialMonitoringObjects : Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject>
Public Function GetRelatedPartialMonitoringObjects (criteria As MonitoringObjectGenericCriteria) As ReadOnlyCollection(Of PartialMonitoringObject)

Parameters

criteria
MonitoringObjectGenericCriteria

The criteria to query by.

Returns

A collection of PartialMonitoringObject objects.

Exceptions

criteria is null.

Applies to

GetRelatedPartialMonitoringObjects(ManagementPackClass, TraversalDepth)

This method will find any PartialMonitoringObject instances that are related to this MonitoringObject by any containment relationship of the given type and any derived types, allowing for abstract types to be specified.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject ^> ^ GetRelatedPartialMonitoringObjects(Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject> GetRelatedPartialMonitoringObjects (Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetRelatedPartialMonitoringObjects : Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject>
Public Function GetRelatedPartialMonitoringObjects (managementPackClass As ManagementPackClass, traversalDepth As TraversalDepth) As ReadOnlyCollection(Of PartialMonitoringObject)

Parameters

managementPackClass
ManagementPackClass

The type to query by.

traversalDepth
TraversalDepth

Whether to recurse down the "Containment" relationship instance space for this monitoring object.

Returns

A collection of MonitoringObject objects.

Exceptions

managementPackClass is null.

Applies to

GetRelatedPartialMonitoringObjects(MonitoringRelationshipClass, TraversalDepth)

This method will find any PartialMonitoringObject instances that share the given relationshipType with this object.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject ^> ^ GetRelatedPartialMonitoringObjects(Microsoft::EnterpriseManagement::Configuration::MonitoringRelationshipClass ^ relationshipClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject> GetRelatedPartialMonitoringObjects (Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass relationshipClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetRelatedPartialMonitoringObjects : Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass * Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject>
Public Function GetRelatedPartialMonitoringObjects (relationshipClass As MonitoringRelationshipClass, traversalDepth As TraversalDepth) As ReadOnlyCollection(Of PartialMonitoringObject)

Parameters

relationshipClass
MonitoringRelationshipClass

The relationship class to query for.

traversalDepth
TraversalDepth

The depth to traverse for objects.

Returns

A collection of MonitoringObject objects.

Exceptions

relationshipType is null.

Applies to

GetRelatedPartialMonitoringObjects(MonitoringObjectGenericCriteria, TraversalDepth)

This method will find any PartialMonitoringObject instances that are related to this MonitoringObject by any containment relationship of the given type with the specified criteria.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject ^> ^ GetRelatedPartialMonitoringObjects(Microsoft::EnterpriseManagement::Monitoring::MonitoringObjectGenericCriteria ^ criteria, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject> GetRelatedPartialMonitoringObjects (Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria criteria, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetRelatedPartialMonitoringObjects : Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria * Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject>
Public Function GetRelatedPartialMonitoringObjects (criteria As MonitoringObjectGenericCriteria, traversalDepth As TraversalDepth) As ReadOnlyCollection(Of PartialMonitoringObject)

Parameters

criteria
MonitoringObjectGenericCriteria

The criteria to query by.

traversalDepth
TraversalDepth

Whether to recurse down the "Containment" relationship instance space for this monitoring object.

Returns

A collection of PartialMonitoringObject objects.

Applies to