Partager via


IManagementPackManagement.GetManagementPacks Method (ManagementPackCriteria)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

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

Usage

'Usage
Dim instance As IManagementPackManagement
Dim criteria As ManagementPackCriteria
Dim returnValue As IList(Of ManagementPack)

returnValue = instance.GetManagementPacks(criteria)

Syntax

'Declaration
Function GetManagementPacks ( _
    criteria As ManagementPackCriteria _
) As IList(Of ManagementPack)
IList<ManagementPack> GetManagementPacks (
    ManagementPackCriteria criteria
)
IList<ManagementPack^>^ GetManagementPacks (
    ManagementPackCriteria^ criteria
)
IList<ManagementPack> GetManagementPacks (
    ManagementPackCriteria criteria
)
function GetManagementPacks (
    criteria : ManagementPackCriteria
) : IList<ManagementPack>

Parameters

  • criteria
    The search criteria that specifies which management packs to return.

Return Value

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

Exceptions

Exception type Condition
ServerDisconnectedException

An error has occurred.

ArgumentNullException

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

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