Retrieves a single management pack that is defined by the SystemManagementPack enumeration. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As ManagementGroup
Dim managementPack As SystemManagementPack
Dim returnValue As ManagementPack

returnValue = instance.GetManagementPack(managementPack)

Syntax

Visual Basic
Public Function GetManagementPack ( _
		managementPack As SystemManagementPack _
) As ManagementPack
C#
public ManagementPack GetManagementPack (
		SystemManagementPack managementPack
)
C++
public:
ManagementPack^ GetManagementPack (
		SystemManagementPack managementPack
)
J#
public ManagementPack GetManagementPack (
		SystemManagementPack managementPack
)
JScript
public function GetManagementPack (
		managementPack : SystemManagementPack
) : ManagementPack

Parameters

managementPack

The management pack to retrieve.

Return Value

A ManagementPack.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also