SetKeyManagementServiceMachine method of the SoftwareLicensingProduct class

Sets the KMS hostname to use for volume activation.

Syntax

uint32 SetKeyManagementServiceMachine(
  [in] string MachineName
);

Parameters

MachineName [in]

Specifies the KMS hostname.

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