FetchReportPerDeviceEntries method of the Win32_TSLicenseReport class

Retrieves information of issued Remote Desktop Services Per Device client access licenses (RDS Per Device CALs) from the report.

Syntax


uint32 FetchReportPerDeviceEntries(
  [in]      uint32                              StartIndex,
  [in, out] uint32                              Count,
  [out]     Win32_TSLicenseReportPerDeviceEntry ReportPerDeviceEntries[]
);

Parameters

StartIndex [in]

The index of the first report entry to be retrieved. The first report entry has an index of zero.

Count [in, out]

The number of report entries to retrieve from the report object. A value of zero indicates that all of the report entries starting at StartIndex are to be retrieved. On return, contains the number of entries in the ReportPerDeviceEntries array.

ReportPerDeviceEntries [out]

An array of Win32_TSLicenseReportPerDeviceEntry classes the represent the license entries retrieved. The Count parameter contains the number of elements in this array.

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Namespace

Root\CIMv2

MOF

TlsWmiProv.mof

DLL

TlsWmiProv.dll

See also

Win32_TSLicenseReport

 

 

Show: