InstallLicensePackage method of the SoftwareLicensingService class

Installs a license package for the current product.

Syntax

uint32 InstallLicensePackage(
  [in] string LicensePackage
);

Parameters

LicensePackage [in]

Specifies the license package to install.

Requirements

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

See also

SoftwareLicensingService