ManagementGroup.UninstallManagementPack(ManagementPack) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Please use ManagementPacks.UninstallManagementPack()
Uninstalls the given management pack from the system.
public:
void UninstallManagementPack(Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ managementPack);
[System.Obsolete("Please use ManagementPacks.UninstallManagementPack()")]
public void UninstallManagementPack (Microsoft.EnterpriseManagement.Configuration.ManagementPack managementPack);
member this.UninstallManagementPack : Microsoft.EnterpriseManagement.Configuration.ManagementPack -> unit
Public Sub UninstallManagementPack (managementPack As ManagementPack)
Parameters
- managementPack
- ManagementPack
The management pack to uninstall.
- Attributes
Exceptions
managementPack is null
The management pack could not be uninstalled. See inner exception for details.
Examples
For an example of theUninstallManagementPack method, seeHow to Import a New Management Pack