Compartilhar via


IManagementPackStore.GetManagementPack Method

Gets a ManagementPack object from the Management Pack store based on the identifier, key token, and version of the Management Pack.

Namespace: Microsoft.EnterpriseManagement.Configuration.IO
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.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
Function GetManagementPack ( _
    mpName As String, _
    mpKeyToken As String, _
    mpVersion As Version _
) As ManagementPack
ManagementPack GetManagementPack (
    string mpName,
    string mpKeyToken,
    Version mpVersion
)
ManagementPack^ GetManagementPack (
    String^ mpName, 
    String^ mpKeyToken, 
    Version^ mpVersion
)
ManagementPack GetManagementPack (
    String mpName, 
    String mpKeyToken, 
    Version mpVersion
)
function GetManagementPack (
    mpName : String, 
    mpKeyToken : String, 
    mpVersion : Version
) : ManagementPack

Parameters

  • id
    The identifier for the Management Pack that you want to get.
  • keytoken
    The key token of the Management Pack that you want to get.
  • version
    The version of the Management Pack that you want to get.

Return Value

Returns a ManagementPack object from the Management Pack store.

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

IManagementPackStore Interface
IManagementPackStore Members
Microsoft.EnterpriseManagement.Configuration.IO Namespace

Send comments about this topic to Microsoft.