[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Creates a ManagementPackBundle object that contains the specified management packs. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As IManagementPackManagement
Dim managementPacks As IEnumerable(Of ManagementPack)
Dim returnValue As ManagementPackBundle

returnValue = instance.GetBundle(managementPacks)

Syntax

Visual Basic
Function GetBundle ( _
		managementPacks As IEnumerable(Of ManagementPack) _
) As ManagementPackBundle
C#
ManagementPackBundle GetBundle (
		IEnumerable<ManagementPack> managementPacks
)
C++
ManagementPackBundle^ GetBundle (
		IEnumerable<ManagementPack^>^ managementPacks
)
J#
ManagementPackBundle GetBundle (
		IEnumerable<ManagementPack> managementPacks
)
JScript
function GetBundle (
		managementPacks : IEnumerable<ManagementPack>
) : ManagementPackBundle

Parameters

managementPacks

Type: ManagementPack}

A list of management packs.

Return Value

Type: ManagementPackBundle The management pack bundle.

Exceptions

Exception type Condition
ServerDisconnectedException

An error has occurred.

ArgumentNullException

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

-or-

One of the ManagementPack objects in the managementPacks parameter is a null reference (Nothing in Visual Basic).

ObjectNotFoundException

One of the ManagementPack objects in the managementPacks parameter was not found.

Thread Safety

This method is 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