[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

Visual Basic
Dim instance As IEntityTypeManagement
Dim managementPack As ManagementPack
Dim returnValue As IList(Of ManagementPackCategory)

returnValue = instance.GetCategories(managementPack)

Syntax

Visual Basic
Function GetCategories ( _
		managementPack As ManagementPack _
) As IList(Of ManagementPackCategory)
C#
IList<ManagementPackCategory> GetCategories (
		ManagementPack managementPack
)
C++
IList<ManagementPackCategory^>^ GetCategories (
		ManagementPack^ managementPack
)
J#
IList<ManagementPackCategory> GetCategories (
		ManagementPack managementPack
)
JScript
function GetCategories (
		managementPack : ManagementPack
) : IList<ManagementPackCategory>

Parameters

managementPack

Type: ManagementPack

The management pack.

Return Value

Type: IList 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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also