Compartilhar via


IManagementPackManagement.GetManagementPack Method (Guid)

Gets a management pack object by unique identifier.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As IManagementPackManagement
Dim id As Guid
Dim returnValue As ManagementPack

returnValue = instance.GetManagementPack(id)

Syntax

'Declaration
Function GetManagementPack ( _
    id As Guid _
) As ManagementPack
ManagementPack GetManagementPack (
    Guid id
)
ManagementPack^ GetManagementPack (
    Guid id
)
ManagementPack GetManagementPack (
    Guid id
)
function GetManagementPack (
    id : Guid
) : ManagementPack

Parameters

  • id
    The unique identifier of a management pack.

Return Value

The management pack.

Exceptions

Exception type Condition
ObjectNotFoundException

The ManagementPack type that is identified by the id parameter does not exist.

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