SetSpecifiedLicenseServerList method of the Win32_TerminalServiceSetting class

Updates the list of specified license servers, replacing any existing specified license servers.

Syntax


uint32 SetSpecifiedLicenseServerList(
  [in] string SpecifiedLSList[]
);

Parameters

SpecifiedLSList [in]

A string array that contains the new list of specified license servers.

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
AddLSToSpecifiedLicenseServerList
GetSpecifiedLicenseServerList
EmptySpecifiedLicenseServerList
RemoveLSFromSpecifiedLicenseServerList

 

 

Show: