Compartilhar via


DisableKeyManagementServiceHostCaching method of the SoftwareLicensingService class

Disables the caching of the KMS hostname and port value on a volume activation client.

Syntax

uint32 DisableKeyManagementServiceHostCaching(
  [in] boolean DisableCaching
);

Parameters

DisableCaching [in]

Determines whether KMS hostname and port values are cached. If this parameter is set to 1, caching is disabled. If this parameter is set to 0, caching is enabled.

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