Partager via


ManagementGroup.GetManagementPacks Method (ManagementPackCriteria)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of management packs that match the specified criteria.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Please use ManagementPacks.GetManagementPacks()")]
public ReadOnlyCollection<ManagementPack> GetManagementPacks(
    ManagementPackCriteria criteria
)
public:
[ObsoleteAttribute("Please use ManagementPacks.GetManagementPacks()")]
ReadOnlyCollection<ManagementPack^>^ GetManagementPacks(
    ManagementPackCriteria^ criteria
)
[<ObsoleteAttribute("Please use ManagementPacks.GetManagementPacks()")>]
member GetManagementPacks : 
        criteria:ManagementPackCriteria -> ReadOnlyCollection<ManagementPack>
<ObsoleteAttribute("Please use ManagementPacks.GetManagementPacks()")>
Public Function GetManagementPacks (
    criteria As ManagementPackCriteria
) As ReadOnlyCollection(Of ManagementPack)

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ManagementPack>

Returns a ReadOnlyCollection<T> object ofManagementPackobjects that match the specified criteria.

Remarks

This method does not return management packs from the local in-memory cache.

Examples

For an example of theGetManagementPacksHow to Display Management Pack Contents.

See Also

GetManagementPacks Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top