GetSpecifiedLicenseServerList method of the Win32_TerminalServiceSetting class

Retrieves the list of specified license servers.

Syntax

uint32 GetSpecifiedLicenseServerList(
  [out] string SpecifiedLSList[]
);

Parameters

SpecifiedLSList [out]

A string array that receives the list of license servers. If there are no 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

Requirement Value
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

AddLSToSpecifiedLicenseServerList

EmptySpecifiedLicenseServerList

RemoveLSFromSpecifiedLicenseServerList

SetSpecifiedLicenseServerList