Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Asynchronously uninstalls a management pack.
Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use ManagementPacks.BeginUninstallManagementPack()")]
public IAsyncResult BeginUninstallManagementPack(
    ManagementPack managementPack,
    AsyncCallback callback,
    object state
)
public:
[ObsoleteAttribute("Please use ManagementPacks.BeginUninstallManagementPack()")]
IAsyncResult^ BeginUninstallManagementPack(
    ManagementPack^ managementPack,
    AsyncCallback^ callback,
    Object^ state
)
[<ObsoleteAttribute("Please use ManagementPacks.BeginUninstallManagementPack()")>]
member BeginUninstallManagementPack : 
        managementPack:ManagementPack *
        callback:AsyncCallback *
        state:Object -> IAsyncResult
<ObsoleteAttribute("Please use ManagementPacks.BeginUninstallManagementPack()")>
Public Function BeginUninstallManagementPack (
    managementPack As ManagementPack,
    callback As AsyncCallback,
    state As Object
) As IAsyncResult
Parameters
- managementPack 
 Type: Microsoft.EnterpriseManagement.Configuration.ManagementPack- The management pack to uninstall from the management group. 
- callback 
 Type: System.AsyncCallback- The callback method that gets called when the management pack is uninstalled. 
- state 
 Type: System.Object- The optional state to pass back to the callback method. 
Return Value
Type: System.IAsyncResult
Returns anIAsyncResultobject.
See Also
UninstallManagementPack
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top