ManagementPackStore.GetManagementPack Method
Gets a ManagementPack object from the management pack store.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
'Usage
Dim instance As ManagementPackStore
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 MustOverride Function GetManagementPack ( _
mpName As String, _
mpKeyToken As String, _
mpVersion As Version _
) As ManagementPack
public abstract ManagementPack GetManagementPack (
string mpName,
string mpKeyToken,
Version mpVersion
)
public:
virtual ManagementPack^ GetManagementPack (
String^ mpName,
String^ mpKeyToken,
Version^ mpVersion
) abstract
public abstract ManagementPack GetManagementPack (
String mpName,
String mpKeyToken,
Version mpVersion
)
public abstract function GetManagementPack (
mpName : String,
mpKeyToken : String,
mpVersion : Version
) : ManagementPack
Parameters
- mpName
The name of the management pack to return.
- mpKeyToken
The public key token of the management pack to return. This value is null if the management pack is unsealed.
- mpVersion
The version of the management pack to return.
Return Value
Returns ManagementPack.
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
ManagementPackStore Class
ManagementPackStore Members
Microsoft.EnterpriseManagement Namespace