SetPrimaryLicenseServer method of the Win32_TerminalServiceSetting class

Sets the given license server as the first entry in the list of specified license servers.

Syntax


uint32 SetPrimaryLicenseServer(
  [in]  string LicenseServerName
);

Parameters

LicenseServerName [in]

The name of the license server.

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

 

 

Show:
© 2014 Microsoft