Share via


ManagementGroup.ImportManagementPack(ManagementPack) Method

Definition

Caution

Please use ManagementPacks.ImportManagementPack()

Imports the management pack into this ManagementGroup.

public:
 void ImportManagementPack(Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack);
[System.Obsolete("Please use ManagementPacks.ImportManagementPack()")]
public void ImportManagementPack (Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack);
member this.ImportManagementPack : Microsoft.EnterpriseManagement.Configuration.ManagementPack -> unit
Public Sub ImportManagementPack (managementPack As ManagementPack)

Parameters

managementPack
ManagementPack

The management pack to insert.

Attributes

Exceptions

managementPack is null

managementPack contains invalid management pack

Examples

For an example of the ImportManagementPackmethod, see How to Import a New Management Pack.

Applies to