MonitoringRelationshipClass.GetMonitoringProperty 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.
Gets the specified property from this class.
Overloads
| GetMonitoringProperty(Guid) |
Obsolete.
Gets a property based on the id of that property. |
| GetMonitoringProperty(String) |
Obsolete.
Gets a property based on the name of that property. |
GetMonitoringProperty(Guid)
Caution
Please use GetProperty instead
Gets a property based on the id of that property.
public:
Microsoft::EnterpriseManagement::Configuration::MonitoringRelationshipClassProperty ^ GetMonitoringProperty(Guid id);
[System.Obsolete("Please use GetProperty instead")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClassProperty GetMonitoringProperty (Guid id);
member this.GetMonitoringProperty : Guid -> Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClassProperty
Public Function GetMonitoringProperty (id As Guid) As MonitoringRelationshipClassProperty
Parameters
- id
- Guid
The id of the property.
Returns
The MonitoringRelationshipClassProperty corresponding to the id.
- Attributes
Exceptions
A MonitoringRelationshipClassProperty with that id was not found in this type.
Applies to
GetMonitoringProperty(String)
Caution
Please use GetProperty instead
Gets a property based on the name of that property.
public:
Microsoft::EnterpriseManagement::Configuration::MonitoringRelationshipClassProperty ^ GetMonitoringProperty(System::String ^ name);
[System.Obsolete("Please use GetProperty instead")]
public Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClassProperty GetMonitoringProperty (string name);
member this.GetMonitoringProperty : string -> Microsoft.EnterpriseManagement.Configuration.MonitoringRelationshipClassProperty
Public Function GetMonitoringProperty (name As String) As MonitoringRelationshipClassProperty
Parameters
- name
- String
The name of the property.
Returns
The MonitoringRelationshipClassProperty corresponding to the name.
- Attributes
Exceptions
name is null.
name.Length is 0.
A MonitoringRelationshipClassProperty with that name was not found in this type.