Skip to content

Latest commit

 

History

History
96 lines (61 loc) · 2.61 KB

pinglicenseserver-win32-terminalservicesetting.md

File metadata and controls

96 lines (61 loc) · 2.61 KB
title description ms.assetid ms.tgt_platform keywords topic_type api_name api_location api_type ms.topic ms.date
PingLicenseServer method of the Win32_TerminalServiceSetting class
PingLicenseServer is no longer available.
d2a9f273-1ff9-4391-889b-a3b9c9f95c3b
multiple
PingLicenseServer method Remote Desktop Services
PingLicenseServer method Remote Desktop Services , Win32_TerminalServiceSetting class
Win32_TerminalServiceSetting class Remote Desktop Services , PingLicenseServer method
apiref
Win32_TerminalServiceSetting.PingLicenseServer
TSCfgWmi.dll
COM
reference
05/31/2018

PingLicenseServer method of the Win32_TerminalServiceSetting class

[PingLicenseServer is no longer available for use as of Windows Server 2008 R2.]

Windows Server 2008: Pings the license server to determine if it is a valid license server.

Syntax

uint32 PingLicenseServer(
  [in] string ServerName
);

Parameters

ServerName [in]

Name of the license server.

Return value

S_OK

The server is a valid license server.

S_FALSE

The license server is not valid.

Remarks

Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Microsoft Windows Software Development Kit (SDK). They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2008
End of client support
None supported
End of server support
Windows Server 2008
Namespace
Root\CIMv2\TerminalServices
MOF
TSCfgWmi.mof
DLL
TSCfgWmi.dll

See also

Win32_TerminalServiceSetting