Share via


ManagementPackFileStore.GetManagementPack(String, String, Version) Method

Definition

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.

public:
 override Microsoft::EnterpriseManagement::Configuration::ManagementPack ^ GetManagementPack(System::String ^ mpName, System::String ^ mpKeyToken, Version ^ mpVersion);
public override Microsoft.EnterpriseManagement.Configuration.ManagementPack GetManagementPack (string mpName, string mpKeyToken, Version mpVersion);
override this.GetManagementPack : string * string * Version -> Microsoft.EnterpriseManagement.Configuration.ManagementPack
Public Overrides Function GetManagementPack (mpName As String, mpKeyToken As String, mpVersion As Version) As ManagementPack

Parameters

mpName
String

The name of the referenced management pack.

mpKeyToken
String

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

mpVersion
Version

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

Returns

Returns the specified management pack object.

Applies to