IEntityTypeManagement.GetCategories Method (ManagementPack)
[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.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As IEntityTypeManagement
Dim managementPack As ManagementPack
Dim returnValue As IList(Of ManagementPackCategory)
returnValue = instance.GetCategories(managementPack)
Syntax
'Declaration
Function GetCategories ( _
managementPack As ManagementPack _
) As IList(Of ManagementPackCategory)
IList<ManagementPackCategory> GetCategories (
ManagementPack managementPack
)
IList<ManagementPackCategory^>^ GetCategories (
ManagementPack^ managementPack
)
IList<ManagementPackCategory> GetCategories (
ManagementPack managementPack
)
function GetCategories (
managementPack : ManagementPack
) : IList<ManagementPackCategory>
Parameters
- managementPack
The management pack.
Return Value
The list of categories.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The managementPack 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