Win32_TSLicenseReport class

Provides instances of Remote Desktop Services Per User client access license (RDS Per User CAL) usage reports that are generated on the Remote Desktop license server, and methods for license report generation, fetch, and delete operations.

Syntax

[dynamic, provider("Win32_WIN32_TERMSERVLICENSING_Prov"), AMENDMENT]
class Win32_TSLicenseReport
{
  string   FileName;
  uint32   LicenseUsageCount;
  uint32   InstalledLicenses;
  DATETIME GenerationDateTime;
  uint32   ScopeType;
  string   ScopeValue;
  uint32   Version;
};

Members

The Win32_TSLicenseReport class has these types of members:

Methods

The Win32_TSLicenseReport class has these methods.

Method Description
DeleteReport Deletes a report object on the Remote Desktop license server. This is not a static method.
FetchReportEntries Retrieves entries in the report object.
FetchReportFailedPerUserEntries Retrieves details of failed Remote Desktop Services Per User client access licenses (RDS Per User CALs) from the report.
FetchReportFailedPerUserSummaryEntries Retrieves summary information of failed Remote Desktop Services Per User client access licenses (RDS Per User CALs) from the report.
FetchReportPerDeviceEntries Retrieves information of issued Remote Desktop Services Per Device client access licenses (RDS Per Device CALs) from the report.
FetchReportSummaryEntries Retrieves license summaries from the report object.
GenerateReport This method is not supported.
Windows Server 2008 R2 and Windows Server 2008: Generates a current per user license usage report on the Remote Desktop license server.
GenerateReportEx Generates a current per user license usage report on the Remote Desktop license server.

Properties

The Win32_TSLicenseReport class has these properties.

FileName

Data type: string

Access type: Read-only

Qualifiers: key

The report name.

GenerationDateTime

Data type: DATETIME

Access type: Read-only

RD Licensing report generation date and time.

InstalledLicenses

Data type: uint32

Access type: Read-only

Qualifiers: DEPRECATED

This property is not supported.

Windows Server 2008 R2 and Windows Server 2008: Number of RDS Per User CALs that are installed.

LicenseUsageCount

Data type: uint32

Access type: Read-only

Qualifiers: DEPRECATED

This property is not supported.

Windows Server 2008 R2 and Windows Server 2008: Number of RDS Per User CALs that are currently in use.

ScopeType

Data type: uint32

Access type: Read-only

Qualifiers: DEPRECATED

This property is not supported.

Windows Server 2008 R2 and Windows Server 2008: RD Licensing report scope type.

ScopeValue

Data type: string

Access type: Read-only

Qualifiers: DEPRECATED

This property is not supported.

Windows Server 2008 R2 and Windows Server 2008: RD Licensing report scope value.

Version

Data type: uint32

Access type: Read-only

RD Licensing report version.

Remarks

Reports that are generated by using WMI are displayed in RD Licensing Manager. Reports that are deleted by using WMI are also deleted from RD Licensing Manager.

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

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

Win32_TSLicenseKeyPack

Win32_TSLicenseReportEntry

Win32_TSLicenseServer