ManagementGroup.GetMonitoringRelationshipClass 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 monitoring relationship class.
Overloads
GetMonitoringRelationshipClass(String, ManagementPack) |
Obsolete.
Obsolete.
Retrieves a single relationship type defined in this management group. |
GetMonitoringRelationshipClass(SystemRelationship) |
Obsolete.
Obsolete.
Retrieves a single relationship type defined in this management group by the well-known system types enumeration. |
GetMonitoringRelationshipClass(Guid) |
Obsolete.
Obsolete.
Retrieves a single relationship type defined in this management group. |
GetMonitoringRelationshipClass(String, ManagementPack)
Caution
Please use EntityTypes.GetMonitoringRelationshipClass()
Caution
Please use EntityTypes.GetRelationshipClasses()
Retrieves a single relationship type defined in this management group.
public:
Microsoft::EnterpriseManagement::Configuration::MonitoringRelationshipClass ^ GetMonitoringRelationshipClass(System::String ^ typeName, Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack);
[System.Obsolete("Please use EntityTypes.GetMonitoringRelationshipClass()")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass GetMonitoringRelationshipClass (string typeName, Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack);
[System.Obsolete("Please use EntityTypes.GetRelationshipClasses()")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass GetMonitoringRelationshipClass (string typeName, Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack);
member this.GetMonitoringRelationshipClass : string * Microsoft.EnterpriseManagement.Configuration.ManagementPack -> Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass
Public Function GetMonitoringRelationshipClass (typeName As String, managementPack As ManagementPack) As MonitoringRelationshipClass
Parameters
- typeName
- String
The fully qualified type name.
- managementPack
- ManagementPack
The management pack this type should be in.
Returns
An instantiated MonitoringRelationshipClass.
- Attributes
Exceptions
A MonitoringRelationshipClass with that name was not found.
typeName or managementPack is null.
typeName.Length is 0.
Applies to
GetMonitoringRelationshipClass(SystemRelationship)
Caution
Please use EntityTypes.GetMonitoringRelationshipClass()
Caution
Please use EntityTypes.GetRelationshipClass()
Retrieves a single relationship type defined in this management group by the well-known system types enumeration.
public:
Microsoft::EnterpriseManagement::Configuration::MonitoringRelationshipClass ^ GetMonitoringRelationshipClass(Microsoft::EnterpriseManagement::Configuration::SystemRelationship ^ relationship);
[System.Obsolete("Please use EntityTypes.GetMonitoringRelationshipClass()")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass GetMonitoringRelationshipClass (Microsoft.EnterpriseManagement.Configuration.SystemRelationship relationship);
[System.Obsolete("Please use EntityTypes.GetRelationshipClass()")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass GetMonitoringRelationshipClass (Microsoft.EnterpriseManagement.Configuration.SystemRelationship relationship);
member this.GetMonitoringRelationshipClass : Microsoft.EnterpriseManagement.Configuration.SystemRelationship -> Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass
Public Function GetMonitoringRelationshipClass (relationship As SystemRelationship) As MonitoringRelationshipClass
Parameters
- relationship
- SystemRelationship
The relationship to retrieve.
Returns
An instantiated MonitoringRelationshipClass.
- Attributes
Exceptions
A MonitoringRelationshipClass matching that enumeration was not found.
Applies to
GetMonitoringRelationshipClass(Guid)
Caution
Please use EntityTypes.GetMonitoringRelationshipClass()
Caution
Please use EntityTypes.GetRelationshipClasses()
Retrieves a single relationship type defined in this management group.
public:
Microsoft::EnterpriseManagement::Configuration::MonitoringRelationshipClass ^ GetMonitoringRelationshipClass(Guid id);
[System.Obsolete("Please use EntityTypes.GetMonitoringRelationshipClass()")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass GetMonitoringRelationshipClass (Guid id);
[System.Obsolete("Please use EntityTypes.GetRelationshipClasses()")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass GetMonitoringRelationshipClass (Guid id);
member this.GetMonitoringRelationshipClass : Guid -> Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClass
Public Function GetMonitoringRelationshipClass (id As Guid) As MonitoringRelationshipClass
Parameters
- id
- Guid
The id of the elationship type.
Returns
An instantiated MonitoringRelationshipClass.
- Attributes
Exceptions
A MonitoringRelationshipClass with that id was not found.