[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]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

Visual Basic
Dim instance As IManagementPackManagement
Dim package As ManagementPackBundle

instance.UninstallBundle(package)

Syntax

Visual Basic
Sub UninstallBundle ( _
		package As ManagementPackBundle _
)
C#
void UninstallBundle (
		ManagementPackBundle package
)
C++
void UninstallBundle (
		ManagementPackBundle^ package
)
J#
void UninstallBundle (
		ManagementPackBundle package
)
JScript
function UninstallBundle (
		package : ManagementPackBundle
)

Parameters

package

Type: ManagementPackBundle

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also