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)
Usage
'Usage
Dim instance As EnterpriseManagementObject
Dim mpClass As ManagementPackClass
Dim returnValue As Boolean
returnValue = instance.IsInstanceOf(mpClass)
Syntax
'Declaration
Public Function IsInstanceOf ( _
mpClass As ManagementPackClass _
) As Boolean
public bool IsInstanceOf (
ManagementPackClass 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.
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