Revoke method of the Win32_TSIssuedLicense class

Revokes the Remote Desktop Services Per Device client access licenses (RDS Per Device CALs) that are represented by the Win32_TSIssuedLicense object. This is not a static function.

Syntax

uint32 Revoke(
  [out] uint32   RevokableCals,
  [out] DATETIME NextRevokeAllowedOn
);

Parameters

RevokableCals [out]

Number of RDS CALs of the same type as the current object that can be revoked.

NextRevokeAllowedOn [out]

Date that the administrator can next try to revoke licenses. This parameter only contains valid data when the Revoke method call has failed because the maximum revoke count has been reached.

Remarks

You must be a member of the Administrators group to call this method.

Only RDS Per Device CALs can be revoked.

Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Microsoft Windows Software Development Kit (SDK). They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\CIMv2
MOF
TlsWmiProv.mof
DLL
TlsWmiProv.dll

See also

Win32_TSIssuedLicense