[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Gets a management pack with the specified identifier, key token, and version from the file system. This method searches the list of include directories specified in the ManagementPackFileStore constructor to load the specified management pack. Namespace: Microsoft.EnterpriseManagement.Configuration.IO
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As ManagementPackFileStore
Dim mpName As String
Dim mpKeyToken As String
Dim mpVersion As Version
Dim returnValue As ManagementPack

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

Syntax

Visual Basic
Public Overrides Function GetManagementPack ( _
		mpName As String, _
		mpKeyToken As String, _
		mpVersion As Version _
) As ManagementPack
C#
public override ManagementPack GetManagementPack (
		string mpName,
		string mpKeyToken,
		Version mpVersion
)
C++
public:
virtual ManagementPack^ GetManagementPack (
		String^ mpName, 
		String^ mpKeyToken, 
		Version^ mpVersion
) override
J#
public ManagementPack GetManagementPack (
		String mpName, 
		String mpKeyToken, 
		Version mpVersion
)
JScript
public override function GetManagementPack (
		mpName : String, 
		mpKeyToken : String, 
		mpVersion : Version
) : ManagementPack

Parameters

mpName

The name of the referenced management pack.

mpKeyToken

The key token of the management pack. This parameter can be null.

mpVersion

The version of the management pack. This parameter can be null.

Return Value

Returns ManagementPack. Returns the specified management pack object.

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

See Also