Compartilhar via


EnterpriseManagementObject.GetClasses Method (BaseClassTraversalDepth)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Retrieves the classes this monitoring object is an instance of.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As EnterpriseManagementObject
Dim includeBaseClassesOfConcrete As BaseClassTraversalDepth
Dim returnValue As IList(Of ManagementPackClass)

returnValue = instance.GetClasses(includeBaseClassesOfConcrete)

Syntax

'Declaration
Public Function GetClasses ( _
    includeBaseClassesOfConcrete As BaseClassTraversalDepth _
) As IList(Of ManagementPackClass)
public IList<ManagementPackClass> GetClasses (
    BaseClassTraversalDepth includeBaseClassesOfConcrete
)
public:
IList<ManagementPackClass^>^ GetClasses (
    BaseClassTraversalDepth includeBaseClassesOfConcrete
)
public IList<ManagementPackClass> GetClasses (
    BaseClassTraversalDepth includeBaseClassesOfConcrete
)
public function GetClasses (
    includeBaseClassesOfConcrete : BaseClassTraversalDepth
) : IList<ManagementPackClass>

Parameters

  • includeBaseClassesOfConcrete
    Specifies whether to return only the concrete classes or to also include the base class.

Return Value

Returns IList.

The classes.

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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

EnterpriseManagementObject Class
EnterpriseManagementObject Members
Microsoft.EnterpriseManagement.Common Namespace