Share via


IManagementPackManagement.GetManagementPacks Method

Definition

Gets a collection of ManagementPack objects that have been imported into the current management group.

Overloads

GetManagementPacks()

Gets a collection of all the management packs that have been imported into the current management group.

GetManagementPacks(ManagementPackCriteria)

Gets a collection of all the management packs that have been imported into the current management group that matches the specified criteria.

GetManagementPacks(ICollection<Guid>)

Gets a collection of all the management packs that have been imported into the current management group based on the specified list of management pack identifiers.

GetManagementPacks()

Gets a collection of all the management packs that have been imported into the current management group.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPack ^> ^ GetManagementPacks();
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPack> GetManagementPacks ();
abstract member GetManagementPacks : unit -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPack>
Public Function GetManagementPacks () As IList(Of ManagementPack)

Returns

The collection of imported management packs.

Applies to

GetManagementPacks(ManagementPackCriteria)

Gets a collection of all the management packs that have been imported into the current management group that matches the specified criteria.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPack ^> ^ GetManagementPacks(Microsoft::EnterpriseManagement::Configuration::ManagementPackCriteria ^ criteria);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPack> GetManagementPacks (Microsoft.EnterpriseManagement.Configuration.ManagementPackCriteria criteria);
abstract member GetManagementPacks : Microsoft.EnterpriseManagement.Configuration.ManagementPackCriteria -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPack>
Public Function GetManagementPacks (criteria As ManagementPackCriteria) As IList(Of ManagementPack)

Parameters

criteria
ManagementPackCriteria

The search criteria that specifies which management packs to return.

Returns

The collection of imported management packs that match the search criteria.

Exceptions

An error has occurred.

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

Applies to

GetManagementPacks(ICollection<Guid>)

Gets a collection of all the management packs that have been imported into the current management group based on the specified list of management pack identifiers.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::ManagementPack ^> ^ GetManagementPacks(System::Collections::Generic::ICollection<Guid> ^ ids);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPack> GetManagementPacks (System.Collections.Generic.ICollection<Guid> ids);
abstract member GetManagementPacks : System.Collections.Generic.ICollection<Guid> -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.ManagementPack>
Public Function GetManagementPacks (ids As ICollection(Of Guid)) As IList(Of ManagementPack)

Parameters

ids
ICollection<Guid>

A list of unique identifiers representing management packs.

Returns

The collection of specified management packs.

Exceptions

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

Applies to

Thread Safety

These methods are thread safe.