Retrieves a management pack that has the specified name, key, and
version from the management group.
Namespace:
Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager
(in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Visual Basic |
Dim instance As ManagementGroup
Dim name As String
Dim keytoken As String
Dim version As Version
Dim returnValue As ManagementPack
returnValue = instance.GetManagementPack(name, keytoken, version)
|
Syntax
Visual Basic |
Public Function GetManagementPack ( _
name As String, _
keytoken As String, _
version As Version _
) As ManagementPack
|
C# |
public ManagementPack GetManagementPack (
string name,
string keytoken,
Version version
)
|
C++ |
public:
virtual ManagementPack^ GetManagementPack (
String^ name,
String^ keytoken,
Version^ version
) sealed
|
J# |
public final ManagementPack GetManagementPack (
String name,
String keytoken,
Version version
)
|
JScript |
public final function GetManagementPack (
name : String,
keytoken : String,
version : Version
) : ManagementPack
|
Parameters
- name
-
The name of the management pack to retrieve.
- keytoken
-
The key token of the management pack to retrieve.
- version
-
The version of the management pack to retrieve.
Return Value
A
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