ManagementPack.GetId(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a management pack ID by using the name and the optional public key token.
public:
static Guid GetId(System::String ^ managementPackName, System::String ^ publicKeyToken);
public static Guid GetId (string managementPackName, string publicKeyToken);
static member GetId : string * string -> Guid
Public Shared Function GetId (managementPackName As String, publicKeyToken As String) As Guid
Parameters
- managementPackName
- String
The name of the management pack.
- publicKeyToken
- String
The public key token of the management pack if the management pack is signed. Use null
if the management pack is not signed.
Returns
A management pack ID.