UninstallLicenseKeyPackWithId method of the Win32_TSLicenseKeyPack class
Uninstalls the Remote Desktop Services license key pack with the specified key pack identifier.
Syntax
uint32 UninstallLicenseKeyPackWithId(
[in] uint32 KeyPackId
);
Parameters
-
KeyPackId [in]
-
The identifier of the key pack to uninstall.
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 2008 |
Namespace |
Root\CIMv2 |
MOF |
|
DLL |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for