Win32_TSIssuedLicense class

Describes instances of Remote Desktop Services Per Device client access licenses (RDS Per Device CALs) that are issued from a Remote Desktop license server.

Syntax

[dynamic, provider("Win32_WIN32_TERMSERVLICENSING_Prov"), AMENDMENT]
class Win32_TSIssuedLicense
{
  uint32   LicenseId;
  uint32   KeyPackId;
  string   sIssuedToUser;
  string   sIssuedToComputer;
  uint32   LicenseStatus;
  DATETIME IssueDate;
  DATETIME ExpirationDate;
  string   sHardwareId;
};

Members

The Win32_TSIssuedLicense class has these types of members:

Methods

The Win32_TSIssuedLicense class has these methods.

Method Description
Revoke Revokes the RDS Per Device CALs that are represented by the Win32_TSIssuedLicense object.

Properties

The Win32_TSIssuedLicense class has these properties.

ExpirationDate

Data type: DATETIME

Access type: Read-only

Identifies the date that the license will expire.

IssueDate

Data type: DATETIME

Access type: Read-only

Identifies the date that the license was issued.

KeyPackId

Data type: uint32

Access type: Read-only

Qualifiers: key

Identifies the Remote Desktop Services license key pack.

LicenseId

Data type: uint32

Access type: Read-only

Qualifiers: key

Unique identifier for this license.

LicenseStatus

Data type: uint32

Access type: Read-only

Status of the license.

0

The license status is unknown.

1

The license is a temporary license.

2

The license is active.

3

The license is an upgrade license.

4

The license has been revoked.

5

The license status is pending.

6

The license is a concurrent license.

sHardwareId

Data type: string

Access type: Read-only

Hardware identifier for which the license was issued.

sIssuedToComputer

Data type: string

Access type: Read-only

Computer name for which the license was issued.

sIssuedToUser

Data type: string

Access type: Read-only

User name for which the license was issued.

Remarks

You must be a member of the Administrators group to use this class.

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

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

See also

Win32_TSLicenseKeyPack

Win32_TSLicenseReport

Win32_TSLicenseReportEntry

Win32_TSLicenseServer