Partager via


IManagementPackManagement.GetManagementPack Method (SystemManagementPack)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets a management pack object for a well-known system management pack.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As IManagementPackManagement
Dim managementPack As SystemManagementPack
Dim returnValue As ManagementPack

returnValue = instance.GetManagementPack(managementPack)

Syntax

'Declaration
Function GetManagementPack ( _
    managementPack As SystemManagementPack _
) As ManagementPack
ManagementPack GetManagementPack (
    SystemManagementPack managementPack
)
ManagementPack^ GetManagementPack (
    SystemManagementPack managementPack
)
ManagementPack GetManagementPack (
    SystemManagementPack managementPack
)
function GetManagementPack (
    managementPack : SystemManagementPack
) : ManagementPack

Parameters

  • managementPack
    One of the system management pack enumeration values.

Return Value

The management pack.

Exceptions

Exception type Condition
ObjectNotFoundException

The well-known management pack that is identified by the id parameter does not exist.

ArgumentOutOfRangeException

The SystemManagementPack type that was identified by the managementPack parameter was not one of the supported values.

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

IManagementPackManagement Interface
IManagementPackManagement Members
Microsoft.EnterpriseManagement Namespace