IManagementPackManagement.BeginUninstallManagementPack Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Asynchronously starts to uninstall a single management pack.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As IManagementPackManagement
Dim managementPack As ManagementPack
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginUninstallManagementPack(managementPack, callback, state)
Syntax
'Declaration
Function BeginUninstallManagementPack ( _
managementPack As ManagementPack, _
callback As AsyncCallback, _
state As Object _
) As IAsyncResult
IAsyncResult BeginUninstallManagementPack (
ManagementPack managementPack,
AsyncCallback callback,
Object state
)
IAsyncResult^ BeginUninstallManagementPack (
ManagementPack^ managementPack,
AsyncCallback^ callback,
Object^ state
)
IAsyncResult BeginUninstallManagementPack (
ManagementPack managementPack,
AsyncCallback callback,
Object state
)
function BeginUninstallManagementPack (
managementPack : ManagementPack,
callback : AsyncCallback,
state : Object
) : IAsyncResult
Parameters
- managementPack
The management pack to uninstall.
- callback
The callback method that is called when the management pack uninstall has completed.
- state
The optional state object to pass back to the callback method.
Return Value
The status of the asynchronous request.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | The managementPack parameter is a null reference (Nothing in Visual Basic). |
Thread Safety
This method is thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
IManagementPackManagement Interface
IManagementPackManagement Members
Microsoft.EnterpriseManagement Namespace