EnterpriseManagementObject.IsInstanceOf Method

Indicates whether this instance is of the specified class or any of its derived classes.

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


Dim instance As EnterpriseManagementObject
Dim mpClass As ManagementPackClass
Dim returnValue As Boolean

returnValue = instance.IsInstanceOf(mpClass)


Public Function IsInstanceOf ( _
    mpClass As ManagementPackClass _
) As Boolean
public bool IsInstanceOf (
    ManagementPackClass mpClass
bool IsInstanceOf (
    ManagementPackClass^ mpClass
public boolean IsInstanceOf (
    ManagementPackClass mpClass
public function IsInstanceOf (
    mpClass : ManagementPackClass
) : boolean


  • mpClass
    The specified class.

Return Value

Returns Boolean.

true if this object is an instance of the specified class or any of its derived classes; 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.


Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also


EnterpriseManagementObject Class
EnterpriseManagementObject Members
Microsoft.EnterpriseManagement.Common Namespace