UninstallProductKey method of the SoftwareLicensingProduct class

Uninstalls the product key.

Syntax

uint32 UninstallProductKey();

Parameters

This method has no parameters.

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