Gets a property value object that corresponds to the specified monitoring class property. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As MonitoringObject
Dim property As MonitoringClassProperty
Dim returnValue As Object

returnValue = instance.GetMonitoringPropertyValue(property)

Syntax

Visual Basic
Public Function GetMonitoringPropertyValue ( _
		property As MonitoringClassProperty _
) As Object
C#
public Object GetMonitoringPropertyValue (
		MonitoringClassProperty property
)
C++
public:
Object^ GetMonitoringPropertyValue (
		MonitoringClassProperty^ property
)
J#
public Object GetMonitoringPropertyValue (
		MonitoringClassProperty property
)
JScript
public function GetMonitoringPropertyValue (
		property : MonitoringClassProperty
) : Object

Parameters

property

The monitoring class property to retrieve a value for.

Return Value

Returns an object that is the value of the specified property.

Example

For a code example that uses this method, see How to Display Information about a Monitoring Object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also