IManagementPackManagement.GetBundle Method (Generic IEnumerable)
Creates a ManagementPackBundle object that contains the specified management packs.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
Dim instance As IManagementPackManagement
Dim managementPacks As IEnumerable(Of ManagementPack)
Dim returnValue As ManagementPackBundle
returnValue = instance.GetBundle(managementPacks)
Syntax
'Declaration
Function GetBundle ( _
managementPacks As IEnumerable(Of ManagementPack) _
) As ManagementPackBundle
ManagementPackBundle GetBundle (
IEnumerable<ManagementPack> managementPacks
)
ManagementPackBundle^ GetBundle (
IEnumerable<ManagementPack^>^ managementPacks
)
ManagementPackBundle GetBundle (
IEnumerable<ManagementPack> managementPacks
)
function GetBundle (
managementPacks : IEnumerable<ManagementPack>
) : ManagementPackBundle
Parameters
- managementPacks
A list of management packs.
Return Value
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 Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
IManagementPackManagement Interface
IManagementPackManagement Members
Microsoft.EnterpriseManagement Namespace