Share via


ManagementGroup.GetManagementPack Method

Definition

Retrieves a management pack.

Overloads

GetManagementPack(SystemManagementPack)
Obsolete.

Retrieves a single management pack defined in this management group by the well-known system management packs enumeration.

GetManagementPack(Guid)
Obsolete.

Gets the management pack with the given id.

GetManagementPack(SystemManagementPack)

Caution

Please use ManagementPacks.GetManagementPack()

Retrieves a single management pack defined in this management group by the well-known system management packs enumeration.

public:
 Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ GetManagementPack(Microsoft::EnterpriseManagement::Configuration::SystemManagementPack managementPack);
[System.Obsolete("Please use ManagementPacks.GetManagementPack()")]
public Microsoft.EnterpriseManagement.Configuration.ManagementPack GetManagementPack (Microsoft.EnterpriseManagement.Configuration.SystemManagementPack managementPack);
override this.GetManagementPack : Microsoft.EnterpriseManagement.Configuration.SystemManagementPack -> Microsoft.EnterpriseManagement.Configuration.ManagementPack
Public Function GetManagementPack (managementPack As SystemManagementPack) As ManagementPack

Parameters

managementPack
SystemManagementPack

The management pack to retrieve.

Returns

An instantiated ManagementPack.

Attributes

Exceptions

A ManagementPack matching that enumeration was not found.

Applies to

GetManagementPack(Guid)

Caution

Please use ManagementPacks.GetManagementPack()

Gets the management pack with the given id.

public:
 Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ GetManagementPack(Guid id);
[System.Obsolete("Please use ManagementPacks.GetManagementPack()")]
public Microsoft.EnterpriseManagement.Configuration.ManagementPack GetManagementPack (Guid id);
override this.GetManagementPack : Guid -> Microsoft.EnterpriseManagement.Configuration.ManagementPack
Public Function GetManagementPack (id As Guid) As ManagementPack

Parameters

id
Guid

The id of the management pack.

Returns

The ManagementPack with given id.

Attributes

Exceptions

The requested object was not found.

Applies to