IManagementPackManagement.GetBundle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates ManagementPackBundle objects.
Overloads
GetBundle(IEnumerable<ManagementPack>) |
Creates a ManagementPackBundle object that contains the specified management packs. |
GetBundle(IEnumerable<Guid>) |
Creates a ManagementPackBundle object that contains the management packs. |
GetBundle(IEnumerable<ManagementPack>)
Creates a ManagementPackBundle object that contains the specified management packs.
public:
Microsoft::EnterpriseManagement::Packaging::ManagementPackBundle ^ GetBundle(System::Collections::Generic::IEnumerable<Microsoft::EnterpriseManagement::Configuration::ManagementPack ^> ^ managementPacks);
public Microsoft.EnterpriseManagement.Packaging.ManagementPackBundle GetBundle (System.Collections.Generic.IEnumerable<Microsoft.EnterpriseManagement.Configuration.ManagementPack> managementPacks);
abstract member GetBundle : seq<Microsoft.EnterpriseManagement.Configuration.ManagementPack> -> Microsoft.EnterpriseManagement.Packaging.ManagementPackBundle
Public Function GetBundle (managementPacks As IEnumerable(Of ManagementPack)) As ManagementPackBundle
Parameters
- managementPacks
- IEnumerable<ManagementPack>
A list of management packs.
Returns
The management pack bundle.
Exceptions
An error has occurred.
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).
One of the ManagementPack objects in the managementPacks
parameter was not found.
Applies to
GetBundle(IEnumerable<Guid>)
Creates a ManagementPackBundle object that contains the management packs.
public:
Microsoft::EnterpriseManagement::Packaging::ManagementPackBundle ^ GetBundle(System::Collections::Generic::IEnumerable<Guid> ^ ids);
public Microsoft.EnterpriseManagement.Packaging.ManagementPackBundle GetBundle (System.Collections.Generic.IEnumerable<Guid> ids);
abstract member GetBundle : seq<Guid> -> Microsoft.EnterpriseManagement.Packaging.ManagementPackBundle
Public Function GetBundle (ids As IEnumerable(Of Guid)) As ManagementPackBundle
Parameters
- ids
- IEnumerable<Guid>
A list of GUID values that each identify management packs.
Returns
The management pack bundle.
Exceptions
An error has occurred.
The ids
parameter is a null reference (Nothing in Visual Basic).
One of the Guid identifiers in the ids
parameter was not found.
Applies to
Thread Safety
These methods are thread safe.