Partager via


ManagementPack.GetManagementPack Method

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

Retrieves a management pack from the store

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

Usage

'Usage
Dim instance As ManagementPack
Dim mpName As String
Dim mpKeyToken As String
Dim mpVersion As Version
Dim returnValue As ManagementPack

returnValue = instance.GetManagementPack(mpName, mpKeyToken, mpVersion)

Syntax

'Declaration
Public Overrides Function GetManagementPack ( _
    mpName As String, _
    mpKeyToken As String, _
    mpVersion As Version _
) As ManagementPack
public override ManagementPack GetManagementPack (
    string mpName,
    string mpKeyToken,
    Version mpVersion
)
public:
virtual ManagementPack^ GetManagementPack (
    String^ mpName, 
    String^ mpKeyToken, 
    Version^ mpVersion
) override
public ManagementPack GetManagementPack (
    String mpName, 
    String mpKeyToken, 
    Version mpVersion
)
public override function GetManagementPack (
    mpName : String, 
    mpKeyToken : String, 
    mpVersion : Version
) : ManagementPack

Parameters

  • mpName
    The name of the management pack.
  • mpKeyToken
    The key token of the management pack.
  • mpVersion
    The version of the management pack.

Return Value

The desired management pack.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPack Class
ManagementPack Members
Microsoft.EnterpriseManagement.Configuration Namespace