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.