UninstallProductKey method of the SoftwareLicensingProduct class

Not supported. Use the UninstallProductKey method.

Windows Vista and Windows Server 2008: Uninstalls the product key.

Syntax

uint32 UninstallProductKey();

Parameters

This method has no parameters.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
End of client support
Windows Vista
End of server support
Windows Server 2008
Namespace
Root\CIMV2
MOF
SLWmi.mof
DLL
SLWmi.dll

See also

SoftwareLicensingProduct

UninstallProductKey