EnterpriseManagementObject.IsInstanceOf Method

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

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:
bool IsInstanceOf (
	ManagementPackClass^ mpClass
)
public boolean IsInstanceOf (
	ManagementPackClass mpClass
)
public function IsInstanceOf (
	mpClass : ManagementPackClass
) : boolean

Parameters

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.

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

Target Platforms

Windows Server 2008,Windows Server 2003
Show: