GetTokenActivationGrants method of the SoftwareLicensingProduct class

Returns token-based activation grants.

Syntax

uint32 GetTokenActivationGrants(
  [out] string Grants[]
);

Parameters

Grants [out]

Specifies the activation grant that is associated with the token.

Requirements

Minimum supported client
Windows 7
Minimum supported server
Windows Server 2008 R2
Namespace
Root\CIMV2
MOF
SppWmi.mof
DLL
SppWmi.dll

See also

SoftwareLicensingProduct