Partager via


IManagementPackStore.GetManagementPack Method

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

This method is now obsolete. Please use ManagementPacks instead.

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

Usage

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

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

Syntax

'Declaration
<ObsoleteAttribute("Use ManagementPacks.GetManagementPack")> _
Function GetManagementPack ( _
    mpName As String, _
    mpKeyToken As String, _
    mpVersion As Version _
) As ManagementPack
[ObsoleteAttribute("Use ManagementPacks.GetManagementPack")] 
ManagementPack GetManagementPack (
    string mpName,
    string mpKeyToken,
    Version mpVersion
)
[ObsoleteAttribute(L"Use ManagementPacks.GetManagementPack")] 
ManagementPack^ GetManagementPack (
    String^ mpName, 
    String^ mpKeyToken, 
    Version^ mpVersion
)
/** @attribute ObsoleteAttribute("Use ManagementPacks.GetManagementPack") */ 
ManagementPack GetManagementPack (
    String mpName, 
    String mpKeyToken, 
    Version mpVersion
)
ObsoleteAttribute("Use ManagementPacks.GetManagementPack") 
function GetManagementPack (
    mpName : String, 
    mpKeyToken : String, 
    mpVersion : Version
) : ManagementPack

Parameters

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

Return Value

The 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

IManagementPackStore Interface
IManagementPackStore Members
Microsoft.EnterpriseManagement Namespace