ManagementPack.GetId Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets a management pack ID by using the name and the optional public key token.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim managementPackName As String
Dim publicKeyToken As String
Dim returnValue As Guid
returnValue = ManagementPack.GetId(managementPackName, publicKeyToken)
Syntax
'Declaration
Public Shared Function GetId ( _
managementPackName As String, _
publicKeyToken As String _
) As Guid
public static Guid GetId (
string managementPackName,
string publicKeyToken
)
public:
static Guid GetId (
String^ managementPackName,
String^ publicKeyToken
)
public static Guid GetId (
String managementPackName,
String publicKeyToken
)
public static function GetId (
managementPackName : String,
publicKeyToken : String
) : Guid
Parameters
- managementPackName
The name of the management pack.
- publicKeyToken
The public key token of the management pack if the management pack is signed. Use null if the management pack is not signed.
Return Value
A management pack ID.
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
ManagementPack Class
ManagementPack Members
Microsoft.EnterpriseManagement.Configuration Namespace