IEntityTypeManagement.GetEnumeration 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 single enumeration value from a management pack by name.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As IEntityTypeManagement
Dim typeName As String
Dim managementPack As ManagementPack
Dim returnValue As ManagementPackEnumeration
returnValue = instance.GetEnumeration(typeName, managementPack)
Syntax
'Declaration
Function GetEnumeration ( _
typeName As String, _
managementPack As ManagementPack _
) As ManagementPackEnumeration
ManagementPackEnumeration GetEnumeration (
string typeName,
ManagementPack managementPack
)
ManagementPackEnumeration^ GetEnumeration (
String^ typeName,
ManagementPack^ managementPack
)
ManagementPackEnumeration GetEnumeration (
String typeName,
ManagementPack managementPack
)
function GetEnumeration (
typeName : String,
managementPack : ManagementPack
) : ManagementPackEnumeration
Parameters
- typeName
Name of the enumeration.
- managementPack
The management pack that contains the enumeration to return.
Return Value
The enumeration.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The managementPack parameter is a null reference (Nothing in Visual Basic), or the typeName parameter is a null reference (Nothing in Visual Basic). |
ObjectNotFoundException | The ManagementPackEnumeration type that is identified by the typeName parameter was not found. |
ArgumentOutOfRangeException | The typeName 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