ManagementPackFileStore.GetManagementPack Method
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.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
'Usage
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
'Declaration
Public Function GetManagementPack ( _
mpName As String, _
mpKeyToken As String, _
mpVersion As Version _
) As ManagementPack
public ManagementPack GetManagementPack (
string mpName,
string mpKeyToken,
Version mpVersion
)
public:
virtual ManagementPack^ GetManagementPack (
String^ mpName,
String^ mpKeyToken,
Version^ mpVersion
) sealed
public final ManagementPack GetManagementPack (
String mpName,
String mpKeyToken,
Version mpVersion
)
public final function GetManagementPack (
mpName : String,
mpKeyToken : String,
mpVersion : Version
) : ManagementPack
Parameters
- name
The name of the referenced Management Pack.
- keytoken
The key token of the Management Pack. This parameter can be null.
- version
The version of the Management Pack. This parameter can be null.
Return Value
Returns the specified ManagementPack 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,Windows Vista,Windows XP
See Also
Reference
ManagementPackFileStore Class
ManagementPackFileStore Members
Microsoft.EnterpriseManagement.Configuration.IO Namespace