AddLSToSpecifiedLicenseServerList method of the Win32_TerminalServiceSetting class
Adds the given license server to the end of the list of specified license servers.
Syntax
uint32 AddLSToSpecifiedLicenseServerList(
[in] string LicenseServerName
);
Parameters
-
LicenseServerName [in]
-
The name of the license server to add.
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 |
|
DLL |
|