Partager via


ManagementPackClass.IsSubClassOf Method

Determines whether this object is derived from the specified ManagementPackClass object.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As ManagementPackClass
Dim possibleParentClass As ManagementPackClass
Dim returnValue As Boolean

returnValue = instance.IsSubClassOf(possibleParentClass)

Syntax

'Declaration
<ObsoleteAttribute("Please use ManagementPackType.IsSubtypeOf()")> _
Public Function IsSubClassOf ( _
    possibleParentClass As ManagementPackClass _
) As Boolean
[ObsoleteAttribute("Please use ManagementPackType.IsSubtypeOf()")] 
public bool IsSubClassOf (
    ManagementPackClass possibleParentClass
)
[ObsoleteAttribute(L"Please use ManagementPackType.IsSubtypeOf()")] 
public:
bool IsSubClassOf (
    ManagementPackClass^ possibleParentClass
)
/** @attribute ObsoleteAttribute("Please use ManagementPackType.IsSubtypeOf()") */ 
public boolean IsSubClassOf (
    ManagementPackClass possibleParentClass
)
ObsoleteAttribute("Please use ManagementPackType.IsSubtypeOf()") 
public function IsSubClassOf (
    possibleParentClass : ManagementPackClass
) : boolean

Parameters

Return Value

true if this ManagementPackClass object is derived from the specified object; otherwise, false.

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

ManagementPackClass Class
ManagementPackClass Members
Microsoft.EnterpriseManagement.Configuration Namespace