GetRegisteredLicenseServerList method of the Win32_TerminalServiceSetting class

Gets the list of registered license servers.

Syntax

uint32 GetRegisteredLicenseServerList(
  [out] string RegisteredLSList[]
);

Parameters

RegisteredLSList [out]

A string array that receives the list of registered license servers. If there are no registered license servers, this array will be empty.

Return value

Returns 0 on success, otherwise returns a WMI error code. Refer to Remote Desktop Services WMI Provider Error Codes for a list of these values.

Requirements

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

See also

Win32_TerminalServiceSetting