Compartilhar via


IManagementPackManagement.UninstallBundle Method (ManagementPackBundle)

Uninstalls a management pack bundle, which uninstalls each management pack and its owned resource streams.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As IManagementPackManagement
Dim package As ManagementPackBundle

instance.UninstallBundle(package)

Syntax

'Declaration
Sub UninstallBundle ( _
    package As ManagementPackBundle _
)
void UninstallBundle (
    ManagementPackBundle package
)
void UninstallBundle (
    ManagementPackBundle^ package
)
void UninstallBundle (
    ManagementPackBundle package
)
function UninstallBundle (
    package : ManagementPackBundle
)

Parameters

  • package
    The management pack bundle.

Exceptions

Exception type Condition
ServerDisconnectedException

An error has occurred.

ArgumentNullException

The package parameter is a null reference (Nothing in Visual Basic).

InvalidOperationException

An error occurred when uninstalling the management packs that are referenced by the ManagementPackBundle object, from the package parameter.

ArgumentException

The management packs that are referenced by the ManagementPackBundle object, from the package parameter, contain a circular dependency reference.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be 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