IEntityTypeManagement.GetCategories Method (ManagementPackElement)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets all categories that are applied to the provided management pack element.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As IEntityTypeManagement
Dim element As ManagementPackElement
Dim returnValue As IList(Of ManagementPackCategory)
returnValue = instance.GetCategories(element)
Syntax
'Declaration
Function GetCategories ( _
element As ManagementPackElement _
) As IList(Of ManagementPackCategory)
IList<ManagementPackCategory> GetCategories (
ManagementPackElement element
)
IList<ManagementPackCategory^>^ GetCategories (
ManagementPackElement^ element
)
IList<ManagementPackCategory> GetCategories (
ManagementPackElement element
)
function GetCategories (
element : ManagementPackElement
) : IList<ManagementPackCategory>
Parameters
- element
The management pack element that is used to retrieve categories.
Return Value
The list of categories.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The element parameter is a null reference (Nothing in Visual Basic). |
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