MonitoringClass.GetMonitoringRelationshipClasses 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 the relationship class objects of which this monitoring class is a part.
Overloads
GetMonitoringRelationshipClasses(DerivedClassTraversalDepth) |
Obsolete.
Retrieves all the relationship classes of which this MonitoringClass is a part. |
GetMonitoringRelationshipClasses() |
Obsolete.
Retrieves all the relationship classes of which this MonitoringClass is a part. |
GetMonitoringRelationshipClasses(DerivedClassTraversalDepth)
Caution
Please use GetRelationships() instead
Retrieves all the relationship classes of which this MonitoringClass is a part.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringRelationshipClass ^> ^ GetMonitoringRelationshipClasses(Microsoft::EnterpriseManagement::Configuration::DerivedClassTraversalDepth derivedClassTraversalDepth);
[System.Obsolete("Please use GetRelationships() instead")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass> GetMonitoringRelationshipClasses (Microsoft.EnterpriseManagement.Configuration.DerivedClassTraversalDepth derivedClassTraversalDepth);
member this.GetMonitoringRelationshipClasses : Microsoft.EnterpriseManagement.Configuration.DerivedClassTraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass>
Public Function GetMonitoringRelationshipClasses (derivedClassTraversalDepth As DerivedClassTraversalDepth) As ReadOnlyCollection(Of MonitoringRelationshipClass)
Parameters
- derivedClassTraversalDepth
- DerivedClassTraversalDepth
Indicates whether or not to include this classes derived classes as targets for the RelationshipType.
Returns
The relationship classes of which this MonitoringClass is a part.
- Attributes
Applies to
GetMonitoringRelationshipClasses()
Caution
Please use GetRelationships() instead
Retrieves all the relationship classes of which this MonitoringClass is a part.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringRelationshipClass ^> ^ GetMonitoringRelationshipClasses();
[System.Obsolete("Please use GetRelationships() instead")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass> GetMonitoringRelationshipClasses ();
member this.GetMonitoringRelationshipClasses : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass>
Public Function GetMonitoringRelationshipClasses () As ReadOnlyCollection(Of MonitoringRelationshipClass)
Returns
The relationship classes of which this MonitoringClass is a part.
- Attributes