Compartilhar via


GetPolicyInformationString method of the SoftwareLicensingProduct class

Gets policy information of type string.

Syntax

uint32 GetPolicyInformationString(
  [in]  string PolicyName,
  [out] string PolicyValue
);

Parameters

PolicyName [in]

Specifies the policy name.

PolicyValue [out]

Specifies the policy value.

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