Compartilhar via


ConnectionManagerBase.GetSubclasses Method

Gets the subclasses of the specified class.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As ConnectionManagerBase
Dim className As String
Dim enumerateDeep As Boolean
Dim returnValue As List(Of IResultObject)

returnValue = instance.GetSubclasses(className, enumerateDeep)

Syntax

'Declaration
Public MustOverride Function GetSubclasses ( _
    className As String, _
    enumerateDeep As Boolean _
) As List(Of IResultObject)
public abstract List<IResultObject> GetSubclasses (
    string className,
    bool enumerateDeep
)
public:
virtual List<IResultObject^>^ GetSubclasses (
    String^ className, 
    bool enumerateDeep
) abstract
public abstract List<IResultObject> GetSubclasses (
    String className, 
    boolean enumerateDeep
)
public abstract function GetSubclasses (
    className : String, 
    enumerateDeep : boolean
) : List<IResultObject>

Parameters

  • className
    [in] Name of a class.
  • enumerateDeep
    [in] true if recursive enumeration is requested into all classes that are derived from the specified class. Set this parameter to false to retrieve only immediate derived class members.

Return Value

System.Collections.Generic.List object that represents IResultObject interfaces for getting and setting result object properties.

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

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

ConnectionManagerBase Class
ConnectionManagerBase Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
IResultObject