Retrieves the monitoring property objects associated with this monitoring class, optionally including the monitoring property objects that target the base classes of this class. Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As MonitoringClass
Dim baseClassTraversalDepth As BaseClassTraversalDepth
Dim returnValue As ReadOnlyCollection(Of MonitoringClassProperty)

returnValue = instance.GetMonitoringProperties(baseClassTraversalDepth)

Syntax

Visual Basic
Public Function GetMonitoringProperties ( _
		baseClassTraversalDepth As BaseClassTraversalDepth _
) As ReadOnlyCollection(Of MonitoringClassProperty)
C#
public ReadOnlyCollection<MonitoringClassProperty> GetMonitoringProperties (
		BaseClassTraversalDepth baseClassTraversalDepth
)
C++
public:
ReadOnlyCollection<MonitoringClassProperty^>^ GetMonitoringProperties (
		BaseClassTraversalDepth baseClassTraversalDepth
)
J#
public ReadOnlyCollection<MonitoringClassProperty> GetMonitoringProperties (
		BaseClassTraversalDepth baseClassTraversalDepth
)
JScript
public function GetMonitoringProperties (
		baseClassTraversalDepth : BaseClassTraversalDepth
) : ReadOnlyCollection<MonitoringClassProperty>

Parameters

baseClassTraversalDepth

Determines whether to also return monitoring property objects that target the base classes of this class. A value of None does not include base classes. A value of Recursive includes base classes.

Return Value

A read-only collection of MonitoringClassProperty objects.

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