Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts the licenses in the current key pack. If the license is a per-user license, it is converted to a per-device license. If the license is a per-device license, it is converted to a per-user license.
Syntax
uint32 ConvertLicenses(
[in] uint32 Count,
[out] uint32 KeypackID
);
Parameters
-
Count [in]
-
The number of licenses to be converted.
-
KeypackID [out]
-
The identifier of the resultant key pack.
Return value
If the method succeeds, it returns zero. If the method is unsuccessful, it returns a nonzero value. For a list of error codes, see Remote Desktop Services WMI Provider Error Codes.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
None supported |
| Minimum supported server |
Windows Server 2012 |
| Namespace |
Root\CIMv2 |
| MOF |
|
| DLL |
|