IEntityTypeManagement.GetClass Method (String, ManagementPack)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets a management pack class, by name, from a specific management pack.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As IEntityTypeManagement
Dim className As String
Dim managementPack As ManagementPack
Dim returnValue As ManagementPackClass
returnValue = instance.GetClass(className, managementPack)
Syntax
'Declaration
Function GetClass ( _
className As String, _
managementPack As ManagementPack _
) As ManagementPackClass
ManagementPackClass GetClass (
string className,
ManagementPack managementPack
)
ManagementPackClass^ GetClass (
String^ className,
ManagementPack^ managementPack
)
ManagementPackClass GetClass (
String className,
ManagementPack managementPack
)
function GetClass (
className : String,
managementPack : ManagementPack
) : ManagementPackClass
Parameters
- className
The class name.
- managementPack
The management pack that contains the class to be returned.
Return Value
The management pack class.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The className parameter is a null reference (Nothing in Visual Basic) or the managementPack parameter is a null reference (Nothing in Visual Basic). |
ObjectNotFoundException | The ManagementPackClass identified by the className parameter was not found. |
ArgumentOutOfRangeException | The className parameter is equal to Empty. |
Thread Safety
This method is thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
IEntityTypeManagement Interface
IEntityTypeManagement Members
Microsoft.EnterpriseManagement Namespace