Freigeben über


MonitoringClass.GetMonitoringProperty Method (String)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the property for this monitoring class based on the name of the property.

Namespace:   Microsoft.EnterpriseManagement.Configuration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Please use GetProperty instead")]
public MonitoringClassProperty GetMonitoringProperty(
    string name
)
public:
[ObsoleteAttribute("Please use GetProperty instead")]
MonitoringClassProperty^ GetMonitoringProperty(
    String^ name
)
[<ObsoleteAttribute("Please use GetProperty instead")>]
member GetMonitoringProperty : 
        name:string -> MonitoringClassProperty
<ObsoleteAttribute("Please use GetProperty instead")>
Public Function GetMonitoringProperty (
    name As String
) As MonitoringClassProperty

Parameters

Return Value

Type: Microsoft.EnterpriseManagement.Configuration.MonitoringClassProperty

Returns a MonitoringClassProperty object.

Examples

For an example, see How to Install, Remove, or Repair an Agent.

See Also

GetMonitoringProperty Overload
MonitoringClass Class
Microsoft.EnterpriseManagement.Configuration Namespace

Return to top